I have created the registry entries and the .cmd file described, but my Win2K system will not run the Viewer from a right click on the network name. The new startvnc.cmd file is located in the root directory (c:\). Win2K displays a window and reports that it cannot locate the file "".exe, and wants me to locate it.
Thanks for the help - Mark ----- Original Message ----- > Message: 2 > Date: Wed, 12 Nov 2003 14:29:39 +0100 > From: "Seak, Teng-Fong" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > > Yes, I find it very useful! > > I'd like to know where you'd found documentation about the use/syntax in this particular registry key: > HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\ > > The .cmd file is used to trim off the first "\\" from %D. Do you think it's possible to do so without using external file? > > > -----Message d'origine----- > > De : Michael Pellegrino [mailto:[EMAIL PROTECTED] > > Envoyi : mardi 11 novembre 2003 20:09 > > @ : [EMAIL PROTECTED] > > Objet : Starting VNCViewer by right clicking on Machine in > > Network Neighborhood > > > > > > 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
