Tuesday, April 13, 2010

Put command prompt on the right context menu

To be able to right click on any folder and open a command prompt in that folder perform the following -
  1. Run regedit
  2. Navigate to: HKEY_CLASSES_ROOT \ Directory \ shell
  3. Right click and select New, then Key
  4. Name the new key CommandPrompt
  5. Double click on (Default) in the right pane and change the data value to Command Prompt Here
  6. Right click the new Command key and select New, then Key
  7. Name the new key Command, too
  8. Double click (Default) again
  9. Change the data value of this one to: cmd.exe /k cd %1
  10. Close the registry editor

Now when you right click a folder, you should see the selection "Command Prompt Here" in the menu.

No comments: