Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I add a new item to right click menu for any file type and associate a action to this without using any third party tool. I hope it is possible using some registry hack..

share|improve this question
up vote 3 down vote accepted

Paste the following into a .reg file:

Windows Registry Editor Version 5.00

@="This text will appear in the context menu"

@="\"C:\\Program Files\\MyApp\\MyApp.exe\" \"%1\""

Import that file into the Registry.

Does that do what you need?

share|improve this answer
yes.. this works great. One more thing how can I control the sequencing of this newly added item? – Ramesh Soni Jun 19 '09 at 8:39
I don't know if it's possible to manipulate the order of context menu items, sorry. – ThatGraemeGuy Jun 21 '09 at 21:10

If you want it to happen for any file type, and you're just passing the file as an arg to the program in question, you can put a shortcut to the program in your SendTo menu (at %userprofile%\SendTo). I keep Notepad and Wordpad in there all the time.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.