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..

link|improve this question
feedback

3 Answers

up vote 3 down vote accepted

Paste the following into a .reg file:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\*\shell\MakeSomethingUp]
@="This text will appear in the context menu"

[HKEY_CLASSES_ROOT\*\shell\MakeSomethingUp\command]
@="\"C:\\Program Files\\MyApp\\MyApp.exe\" \"%1\""

Import that file into the Registry.

Does that do what you need?

link|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. – Graeme Donaldson Jun 21 '09 at 21:10
feedback

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.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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