Command Prompt Here

by Rick Glos 27. October 2011 07:33

Another new PC had me searching for allowing the Windows Explorer right click context menu item Open Command Prompt Here script.

The context menu command will open up a windows command prompt and set the current directory to the one you right-clicked on.

10-27-2011 7-23-29 AM

10-27-2011 7-23-59 AM

Here’s the registry script to make it happen.  Crack open notepad, copy and paste the stuff below, and save the file with a .reg extension and you can import it into your registry.

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\Command_Prompt_Here]
@="Command &Prompt Here"
"edit"=hex:01,00,00,00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\Command_Prompt_Here\command]
@="C:\\Windows\\system32\\cmd.exe /k cd \"\"%1\"\""

Tags:

blog comments powered by Disqus