Friday, February 15, 2008

Create Your Own Context Menu (Right-Click Menu)

This information is show to you guys on how to create your own customize context menu (right-click menu) on your desktop.

1. First of all, Open your Regedit.exe and expand HKEY_CLASSESE_ROOT (HKCR)
2. Follow the path given below for Context Menu Customization.

Computer: CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\
Internet Explorer: CLSID\{871C5380-42A0-1069-A2EA-08002B30309D}\shell\
Network: CLSID\{F02C1A0D-BE21-4350-88B0-7367FC96EF3C}\shell\
Start Menu/Folders: Directory\Shell
Desktop/Explorer: Directory\Background\shell\
Windows Explorer (All Files): *\shell\
Drives: Drive\shell\

3. What you have to do is create a sub folder into the path above
e.g. For Desktop/Explorer: HKCR\Directory\Background\Shell\Open Windows Media Player\
* This folder name can be any name

4. Add another sub folder under "Open Windows Media Player" folder that you create
e.g.HKCR\Directory\Background\Shell\Open Windows Media Player\command
*This folder name is fix

5. Inside "command" folder, double-click the "(Default)" and add the value whereby the value is the application (EXE) path that you would like to execute.
e.g. For my case, I would like the context menu to execute Windows Media Player. Hence, the value will be C:\Program Files\Windows Media Player\wmplayer.exe



Done. Right-Click on your desktop and you will see an additional context menu has been added.


Enjoy!

2 comments:

Kok Chee Kang said...

cool... thanks for sharing

Lloyd said...

Thank you. hope it will be usefull.