Command Prompt Here option

October 8, 2008 — Syed Mehroz Alam

Developers typically need a quick shortcut to opening command prompt in any folder they want. Here’s what I personally use:

Create a new file AnyName.reg and edit it to enter the following text:Windows Registry Editor Version 5.00[HKEY_CLASSES_ROOTDirectoryshellOpenNew]@="Command Prompt Here"[HKEY_CLASSES_ROOTDirectoryshellOpenNewCommand]@="cmd.exe /k cd %1"

Run the file to update the registry. Now, you will get a “Command Prompt Here” option whenever you right click on any folder.