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.

Hello I'm searching for answer how to put programs (not program) in context menu of desktop at one context name?

Example: I want to create new context name which can be extendable to put inside more programs. That is like "New" or "View" that show as more options after using it.

Here is what i tried (and is working when you want to put one program to desktop):

  1. I created in registry "New Folder" with name of some programs (i.e. "notepad") inside of this location HKEY_CLASSES_ROOT\Directory\Background\shell\

  2. Inside of new created folder ("notepad") i put one more time "New Folder" and name it "command" (must be same name)

  3. Inside of "command" at string ("Default") put the location through notepad ("C:\Windows\system32\notepad.exe")

-> and now when you click right mouse button on desktop will see new context text with name "notepad" what will of course open notepad if you use them

Well what i'm searching for is to find solution of how to make context name which will offer as to use more that one programs, do you have any solution?

O.S. win 7

share|improve this question

1 Answer 1

up vote 2 down vote accepted
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\DesktopBackground\Shell\MyMenu]
"MUIVerb"="&My Menu"
"SubCommands"="MyMenu.mycmd1;MyMenu.mycmd2;MyMenu.mycmd3"
"Icon"="shell32.dll,43"
"Position"="Bottom"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\MyMenu.mycmd1]
@="&Paint"
"Icon"="C:\\Windows\\System32\\Mspaint.exe"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\MyMenu.mycmd1\command]
@="C:\\Windows\\System32\\Mspaint.exe"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\MyMenu.mycmd2]
@="&Notepad"
"icon"="C:\\Windows\\System32\\Notepad.exe"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\MyMenu.mycmd2\command]
@="C:\\Windows\\System32\\Notepad.exe"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\MyMenu.mycmd3]
@="&Calculator"
"Icon"="C:\\Windows\\System32\\Calc.exe"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\MyMenu.mycmd3\command]
@="C:\\Windows\\System32\\Calc.exe"

The above saved as a .REG file and imported into the registry will result in the following being added to the Desktop's context menu only:

1
Modify as required and enjoy. :)

share|improve this answer
    
thank you very much Karan you save me lot of time it works perfect, where do you find those information, i search on google but didn't find anything similar –  tonni Nov 24 '12 at 10:35
    
Aww, no upvote? :( j/k ;) As for the source of the info., lots of stuff read on the net over the years as well as hours of tinkering in the registry myself with a recent backup always on hand. –  Karan Nov 24 '12 at 15:50
    
i will like to upvote but can't cause i don't have enough reputation (minimal is 15) ... if you vote up on question that will allow me to accept you answere and vote up (but don't warry when i get some reputtion will remeber to vote up) .. thnx one more time –  tonni Nov 24 '12 at 16:33
    
Hah, don't worry about it, I was just kidding. :) There's no pressure here on anyone to accept or upvote any answer. Glad I could help. Cheers! –  Karan Nov 24 '12 at 16:40
    
man i appreciate your work and i'm searching for some answers on this forum to get more reputation and be for sure that will accept and up your answare (you help me a lot ) –  tonni Nov 24 '12 at 16:43

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.