I was looking for this information and having a lot of trouble finding it.  My
brother came up with this.  I've only tested this on Windows 2000 and it works
great.  Sometimes the simple stuff is really elegant...

Here is a registry key to import:

-----cut here ---- vnc.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\VNC]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\VNC\command]
@="c:\\startvnc.cmd \"%D\""
--- cut here

Here is the command file to launch VNCVIEWER - name it "startvnc.cmd" or
change the name in the registry key.

----cut here--- startvnc.cmd
set addr=%1
start C:\Progra~1\RealVNC\vncviewer.exe %addr:~3,-1%:5900
exit
----cut heree---

Just import the registry key, copy the above commands to a file named
"c:\startvnc.cmd".

That's all there is to it.


This depends on the NETBIOS name of the computer being the same as the DNS
name, which is the default.

Hope someone finds this useful.


Mike
_______________________________________________
VNC-List mailing list
[EMAIL PROTECTED]
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list

Reply via email to