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.

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

2 Answers 2

up vote 7 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

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.