Context Menu for Network PC

Posted on 2004-09-17
Medium Priority
Last Modified: 2010-04-12
We want to be able to right click on a network computer and select an application from the context menu.  Such as VNC, Telnet, Ping, etc.
We were able to do this by adding the following registry:

with a value of    C:\Program Files\RealVNC\VNC4\vncviewer.exe "%1"

A simular registry setting will be made for telnet or ping etc.

However the "%1" uses my computers name rather than the network pc.  With out the "%1" it still works but does not send any parameter to the app.

Does anybody know how to get the app to use the network pc name that we right click on rather than my pc?
Question by:sjhergott
  • 3
  • 2
LVL 12

Expert Comment

ID: 12090254
Try using C:\Program Files\RealVNC\VNC4\vncviewer.exe "%computer%"

Hope this helps :)

Author Comment

ID: 12112926
Useing the value C:\Program Files\RealVNC\VNC4\vncviewer.exe "%computer%" I get an error message;

VNC Viewer : Error
         unable to resolve host by name:  No more results can be returned by WSALookupServiceNext. (10110)

any comments??

Author Comment

ID: 12113186
ignore error message posted above.

basically the "%computer%" will work with the single computer thats name is entered in the value, but we have many computers in our domain (200+) and we want to capture the computer name that we click on in network neighborhood.

any other ideas??
LVL 12

Accepted Solution

valicon earned 1500 total points
ID: 12114439
LVL 12

Expert Comment

ID: 12114661
The %computer% variable should work......

is vncviewer in listening mode?

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
There are more than 1000 cryptocurrencies available across the world, but Bitcoin has gained a significant advantage over others. The cryptocurrencies are capitalizing the market with more than $150 billion dollars.
Free Data Recovery software is an advanced solution from Kernel Tools to recover data and files such as documents, emails, database, media and pictures, etc. It supports recovery from physical & logical drive after a hard disk crash, accidental/inte…
From store locators to asset tracking and route optimization, learn how leading companies are using Google Maps APIs throughout the customer journey to increase checkout conversions, boost user engagement, and optimize order fulfillment. Powered …

624 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question