I've heard of people having that problem with the registration switch. It actually sets two keys in the registry under your software classes; the command line is probably what you are having problems with. In the registry the location is:
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\VncViewer.Config\Shell\open\command The default value under that SHOULD be something like this: "c:\bin\vncviewer.exe" -config "%1" Here's the export from my registry; be sure to change the path and use doubled "\\" marks in it if you use this, of course. ----------------------------------------------------------------------- Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\VncViewer.Config\Shell\open\command ] @="\"c:\\bin\\vncviewer.exe\" -config \"%1\"" ----------------------------------------------------------------------- ----- Original Message ----- From: "Joe O'Bremski" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday/2002 February 01 12:40 Subject: RE: Multiple VNC Windows : Kept getting an error in windows that stated that an "Invalid VNC server : specified" but using in a batch file: : : start vncviewer /config server.vnc : : worked out perfectly, Thanks! : : -----Original Message----- : From: Alex Angelopoulos [mailto:[EMAIL PROTECTED]] : Sent: Friday, February 01, 2002 9:17 AM : To: [EMAIL PROTECTED] : Subject: Re: Multiple VNC Windows : : : You should be able to register the VNCViewer as the application to use : for opening .vnc files by runing it with the switch "-register". : : Make sure you have VNCViewer in it's "permanent" location of course; : Windows will save the path in the registry for use when opening the VNC : files. At that point you can either highlight several files at once and : hit enter, or just do a batch file like this : : : @echo off : start server1.vnc : start server2.vnc : .... : and so on. : : ----- Original Message ----- : From: "Joe O'Bremski" <[EMAIL PROTECTED]> : To: <[EMAIL PROTECTED]> : Sent: Friday/2002 February 01 12:01 : Subject: Multiple VNC Windows : : : : Ok, I manage a bunch of Windows 2000 Servers. I have VNC loaded as a : service : : on the servers. As you al know Microsoft like to send out updates : everyother : : day practically which makes me log in to each server through VNC : constantly to : : do updates. : : : : I saw that you can make .VNC configuration files that save screen size : setting : : and most importantly the VNC password. How can i make a batch run for : VNC to : : automatically pop open a VNC window for each of the server I have : created a : : .VNC config file for? I've used VNCVIEWER.EXE /config filename.vnc to : get a : : single window open but is there a way to specify multiple .VNC files? : : : : ------------------------------------- : : Joe O'Bremski, IT Manager : : Carina Corporation : : 702-228-6376 x248 : : --------------------------------------------------------------------- : : To unsubscribe, mail [EMAIL PROTECTED] with the line: : : 'unsubscribe vnc-list' in the message BODY : : See also: http://www.uk.research.att.com/vnc/intouch.html : : --------------------------------------------------------------------- : --------------------------------------------------------------------- : To unsubscribe, mail [EMAIL PROTECTED] with the line: : 'unsubscribe vnc-list' in the message BODY : See also: http://www.uk.research.att.com/vnc/intouch.html : --------------------------------------------------------------------- : --------------------------------------------------------------------- : To unsubscribe, mail [EMAIL PROTECTED] with the line: : 'unsubscribe vnc-list' in the message BODY : See also: http://www.uk.research.att.com/vnc/intouch.html : --------------------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, mail [EMAIL PROTECTED] with the line: 'unsubscribe vnc-list' in the message BODY See also: http://www.uk.research.att.com/vnc/intouch.html ---------------------------------------------------------------------