Windows XP – How to add Command Prompt to Windows explorer right-click menu
Posted by Mark | Posted in Uncategorized | Posted on 24-07-2009
1
This post will show you how to add functionality to right click on any directory and select “Command Prompt Here” from the menu to open command line in that location.
First of all open registry editor Start > Run, type regedit and press OK.
Browse to:
HKEY_CLASSES_ROOT\Directory\shell

Right click “shell” and choose the New > Key option

Name the new key “CommandPrompt” without the quotes and then double-click on the default value in the right .
Change value data to “Command Prompt Here”

Right click on the key you created and select New > Key

Name the new key “Command” and then double-click the default value on the right.
Set Value data to:
cmd.exe /k cd %1

Press “OK” .
Now when you right-click any folder in your Windows machine you will see “Command Prompt Here” option to open command line in that location.

Cheers!
