Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

The point is to add right click menu items only for shift+right click. Don't even bother: regular right click is all over the web, but i want to add some items that wouldn't clutter my right click.

here's how to add "Open Command Window Here" for right click menu. What do I need to modify to add it only to shift+right click?

Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\shell\CommandPrompt]
@="Open Command Window Here"
[HKEY_CLASSES_ROOT\Directory\shell\CommandPrompt\command]
@="cmd.exe /k pushd %L"

(Yes, I know, that's exactly what win7 does).

share|improve this question
up vote 10 down vote accepted
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\shell\CommandPrompt]
@="Open Command Window Here"
"Extended"=""

[HKEY_CLASSES_ROOT\Directory\shell\CommandPrompt\command]
@="cmd.exe /k pushd %L"

Note the "Extended"="" command on the fourth line.

share|improve this answer
    
Perfect. Thanks!! – Pavel Jul 26 '12 at 1:55
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\Background\shell\CommandPrompt]
@="Open Command Window Here"
"Extended"=""

[HKEY_CLASSES_ROOT\Directory\Background\shell\CommandPrompt\command]
@="cmd.exe /k pushd %L"

You probably want to add to the Background

share|improve this answer
    
welcome to superuser, but as you can see the question had been answered half a year ago ;) – Pavel Dec 12 '13 at 22:59
    
yea the answer wasn't working for me and once I changed the background one it seemed to work. I'm glad you asked this question because it was a good starting point. – Steven Dec 13 '13 at 2:05

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .