How to Add A Command-Prompt to Right-Click Context menu of Every Folder

February 12, 2009 by: Prasanth Chandra

If you use the command line window a lot, this hack will let you open a command prompt at the selected directory. This trick will add a right click context menu option for opening Command Prompt in every folder. To perform this registry hack..

Navigate to:

HKEY_CLASSES_ROOT\Directory\shell

Create a new sub-key called Command under the main key (that is, the new key will be HKEY_CLASSES_ROOT\Directory\shell\Command).

command prompt in context menu of folders

Change the value of  “(Default)” within that key to the text you’d like on the right-click menu.

For example,  “Open A Prompt Here!”

Create another, new sub-key under the key created above, again called “command” (so this key will be
HCR\Directory\shell\Command\command).

Change the value of “(Default)” here to  “cmd.exe /k cd %1”, without the quotes. Now right-click on a folder, and voila! you can see an option to open command prompt.

Comments

One Response to “How to Add A Command-Prompt to Right-Click Context menu of Every Folder”
  1. ELIAS says:

    i need to change start button to my name can anybody help me out in thix?

Leave a Reply