Add a new item to the right click menu of a folder

Status
Not open for further replies.
Tutorial number = 7
My 100th post .Hope it will give me some reputation

Tutorial for beginners

Frnds it sometimes gets irritating when we have to open something and it takes a long procedure.In this tutorial i will tell u how to add a new item to a right click menu of a folder so that u can find it easy to open items.

Here is a view of the right click menu before applying this trick:-
*www.geocities.com/siddharth_bhoot/5.JPG


here are the steps for performing this trick
a>click on the start menu and click run.
b>Typr in regedit(inbuilt registry editor of windows) and click ok.
c>go to HKEY_CLASSES_ROOT\Directory\shell .
d>Create a new key here with whatever name u want (Name doesnt matters).
e>In its "default" value type in the name which u want to be displayed.
f>Now create a new key in the key which we created in step "d" and name it as "command".
g>In the dfault value type the path of the program.
h>Now u can see the effect :-
*www.geocities.com/siddharth_bhoot/6.JPG


Source :-Got it while learning visual basic with registry.
 

Vishal Gupta

Microsoft MVP
I would like to add some more things! :)

For adding shortcuts in all file context menu use the following key:

HKEY_CLASSES_ROOT\*\Shell

For adding shortcuts in all drives context menu use the following key:

HKEY_CLASSES_ROOT\Drive\Shell
 

aditya.shevade

Console Junkie
And for special folders like My Computer, use their CLSIDs. Go to HKEY_CLASSES_ROOT\CLSID. Create subkeys, shell and command, and repeat the above process. ie: -

1) Create a new key here with whatever name u want (Name doesnt matter).
2) In its "default" value type in the name which u want to be displayed.
3) Now create a new key in the key which we created in step "1" and name it as "command".
4) In the dfault value type the path of the program.


Find the CLSIDs of some folders here

Aditya
 
Last edited:
Status
Not open for further replies.
Top Bottom