Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

i got the info here but after adding that i didn't get any shortcut on my desktop contest menu :( pls help me i want it only on my desktop context menu

  1. Open regedit and goto:

CODEHKEY_CLASSES_ROOT\Directory\Background\shell now under this key create another key with any name and in right-side pane set its value to the label, which you want to show in desktop context menu, like Media Player, Winamp, Firefox, anything else.

  1. Now create another key under this newly created key with name command. and in right-side pane set its value to the exact path of application, like:

C:\Program Files\Windows Media Player\wmplayer.exe C:\Program Files\Winamp\winamp.exe etc...

  1. Thats it. Now you can check your favorite application shortcut in desktop context menu.

  2. You can create as many shortcut as you want. Simply create a separate key for all the applications.

  3. Following is a ready-made code:

CODEWindows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\Background\shell\WMP] @="Windows Media Player"

[HKEY_CLASSES_ROOT\Directory\Background\shell\WMP\command] @="C:\Program Files\Windows Media Player\wmplayer.exe" Just change the label and path to ur desired application and save with the name "vishal.reg" (including the quotes) and run it.

U can also set the application shortcut to show only when u press key by adding "Extended" String value in right-side pane of the newly created key:

CODEWindows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\Background\shell\WMP] @="Windows Media Player" "Extended"=""

[HKEY_CLASSES_ROOT\Directory\Background\shell\WMP\command] @="C:\Program Files\Windows Media Player\wmplayer.exe"

share|improve this question
    
English? (15 chars) –  Hello71 Jun 23 '10 at 1:24
    
@hello71 what ? –  blackjack Jun 23 '10 at 4:14
    
i what it only on my desktop context menu? Did you mean "want"? –  Hello71 Jun 23 '10 at 21:36
add comment

2 Answers

Only Windows Vista and Windows 7 support adding menu entries via this registry key:

HKEY_CLASSES_ROOT\Directory\Background\shell\

Prior to this (e.g. Windows XP), menu entries could only be added to Directory\Background via shellex:

HKEY_CLASSES_ROOT\Directory\Background\shellex\

shellex is exponentially more difficult to use, because it requires you to write your own COM DLL, presumbling using C++, and register it with the system. This is no easy feat for an armchair registry hacker.

So basically, you can't easily do what you're trying to do. At least not in WinXP.

share|improve this answer
add comment

Assuming you're talking about Windows XP, the simplest way to do this is to download and install TweakUI from Microsoft. It's one of the Windows XP PowerToys, available at http://www.microsoft.com/windowsxp/downloads/powertoys/xppowertoys.mspx.

Once you run TweakUI, click "Templates" in the list on the left. You can enable/disable existing templates or add new ones.

share|improve this answer
add comment

Your Answer

 
discard

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.