Frequent computer users and mostly programmers very often need to execute some dos/shell commands. The problem is, when a command prompt window is launched, the default path is normally the system path or the user profile's path. The users will then have to do all the "cd" commands to change the directories to the path they want.
This trick shows you how to add an option called "Command Prompt" when you right-click on a folder in Windows. With this option, a Command Prompt Window will be launched and its current directory will be the path to the folder you've selected.
Here's what you'll get:
How to Do it???
You can either edit your registry OR download the registry file and apply it on your computer.
You can either edit your registry OR download the registry file and apply it on your computer.
Method I. Manually edit the registry:
- Start > Run
- Enter "regedit" and hit Enter
- Expand to "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell"
- Right-click on "shell" and select New > Key
- Make sure a new key is created under "shell". Change the name of this key to "Command Prompt"
- Right-click on this new key "Command Prompt" and select New > Key
- Change the name of this key to "command"
- Here's what we should have:
Method II. Download and apply the registry file:
- Download this registry file Here.
- Unzip it to a temp folder, then double-click on the cmd.reg file to add the registry data.


