El 4 Oct 2002 a las 10:30, Sorin Srbu escribis:

> On Thu, 3 Oct 2002 08:10:53 -0700, [EMAIL PROTECTED] wrote:
> 
> >I have never been able to get a .vnc file to work with any revision of vnc.
> >I'm running Win2k. Everytime I create one, then try to run it, I get "Invalid
> >VNC server specified". 
> 
> The "-config"-switch *is* tricky in windows. Took me a while to
> figure out how to group the the command line switches. Eventually
> it worked though. Do you have the shortcut setup as below?
> 
> "C:\Program Files\ORL\VNC\vncviewer.exe" -config "C:\Program
> Files\ORL\VNC\vnc-box.vnc" 

More easy: associate the .vnc extension with VNCviewer: vncviewer -register. 
This way, you can launch the viewer just clicking the .vnc file. It's not a 
bad idea to issue an "vncviewer -register" command each time the viewer is 
updated, just in case the command line changes. To check the association you 
can use "assoc" and "ftype" (NT's CMD built-in commands), in example:

e:\users\glm>assoc .vnc
.vnc=VncViewer.Config

e:\users\glm>ftype vncviewer.config
vncviewer.config="E:\BIN\RealVNC\vncviewer.exe" -config "%1"

And you can put all .vnc files into a folder in the desktop: a very simple 
"Windows VNC Browser". 

Regards,
 -G.

-- 
Gonzalo Lopez Menendez 
[EMAIL PROTECTED]
Asturias - ES
_______________________________________________
VNC-List mailing list
[EMAIL PROTECTED]
http://www.realvnc.com/mailman/listinfo/vnc-list

Reply via email to