Open command prompt in a specific folder

I had to find another way to open the command prompt in a specific, working folder, and the Windows Key + R, type cmd keystroke was no longer efficient. Thankfully, there’s a way around this – two ways, actually…so here they are:

Method #1 – Add a Registry Key

  1. Open regedit. (If you don’t know how to do this, I wouldn’t suggest you do this then.)
  2. Navigate to HKEY_CLASSES_ROOT > Folder > Shell.
  3. Create a new key and call it Open command prompt (type whatever you’d like as this is what will be shown as the “menu” option).
  4. Create a sub key and name it CMD Here.
  5. Set the command default value to cmd.exe /k cd %1.

Method #2Add via Windows Explorer

  1. Open Windows Explorer.
  2. Go to Tools > Folder Options.
  3. Navigate to the File Types tab.
  4. Select File Folder under the File Types.
  5. Go to Advanced, then click New.
  6. Fill out the fields as show below then hit OK.

After you’ve followed either method #1 or #2, you should get the option to right-click on a folder an open it in the command prompt.

Take it easy and get back to work! =0)

Leave a Reply

Your email address will not be published. Required fields are marked *