NINE-11.com
www.nine-11.com
How can I add a "Command Prompt Here" Shortcut?

 

I often find that I need to open a particular directory every time that I open a command prompt. I found some easy ways to create a shortcut when I right click on folders in Explorer. Here are a few tips on how to accomplish this.

1. Microsoft Powertoys

This is the easiest way to set up this particular shortcut. Simply download Microsoft Powertoys in particular you should download the Open Command Window Here (cmdhere.exe) and install it.

2. Modify the Registry

  1. Find the HKEY_LOCAL_MACHINE/Software/Classes/Folder/Shell key in your registry.
  2. Create a key called Command Prompt Here
  3. Set the default string to Command Prompt Here
  4. Create a new key within your newly created key and call it Command
  5. Set the default string to Cmd.exe /k pushd %L **

** If using Windows 9x modify the default string to c:\windows\command.com /k pushd %L

 
NINE-11.com
www.Nine-11.com