Thursday, May 6, 2010

Windows Explorer Open a Command Prompt

Since I do it all the time, here is the registry entry (save this to a command.reg file and import it into the registry)

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\Command Prompt]
@="Open A Command Prompt"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\Command Prompt\command]
@="cmd.exe /k pushd %1"

No comments: