Friday, July 24, 2009

Windows XP - How to add Command Prompt to Windows explorer right-click menu

Open registry editor Start > Run, type regedit and press OK.

Browse to:

HKEY_CLASSES_ROOT\Directory\shell

regedit1

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

regedit2

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”

regedit3

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

regedit4

Name the new key “Command” and then double-click the default value on the right.

Set Value data to:

cmd.exe /k cd %1

regedit5

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.

regedit6




No comments:

Post a Comment