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.

One can open dos command window by shift-clicking on a folder but I'd rather like to do so by shift clicking on exe INSIDE the folder.

Any registry hack to do so like this one but on exe instead of folder:

http://www.networksteve.com/?p=2308

share|improve this question
1  
Shift-click does not open a command window for me. Are you sure you haven't installed some software to achieve this? –  Nifle Apr 11 '10 at 9:49
1  
On windows 7. On XP I think you must hack registry see here networksteve.com/index.php/2010/03/… –  asksuperuser Apr 11 '10 at 10:35
    
I mean right-shift-click rather –  asksuperuser Apr 11 '10 at 10:36
add comment

1 Answer

up vote 4 down vote accepted

Use Notepad to paste this into an empty .REG file, then save and double-click the file:

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Classes\exefile]

[HKEY_CURRENT_USER\Software\Classes\exefile\shell]

[HKEY_CURRENT_USER\Software\Classes\exefile\shell\cmdhere]
@="Command Prompt Here"

[HKEY_CURRENT_USER\Software\Classes\exefile\shell\cmdhere\command]
@="cmd.exe"

(it adds a context menu entry for executables; tested on XP)

share|improve this answer
    
Great thanks it works perfect even on windows 7 :) –  asksuperuser Apr 11 '10 at 13:11
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.