2

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

RyanTM
  • 1,030
  • 1
  • 11
  • 23
  • 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 09:49
  • 1
    On windows 7. On XP I think you must hack registry see here http://www.networksteve.com/index.php/2010/03/open-a-command-prompt-from-any-folder/ –  Apr 11 '10 at 10:35
  • I mean right-shift-click rather –  Apr 11 '10 at 10:36

1 Answers1

4

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)

Hugh Allen
  • 9,820
  • 6
  • 34
  • 42