Windows XP Tips and Tricks PAGES

HOME       2      3      4      5      6      7      8      9      10      11

Repairing|Troubleshooting

Useful Run Commands

Useful Keyboard Shortcuts

Thursday, February 19, 2009

Opening a Command Prompt to a Particular Directory from Explorer

Opening a Command Prompt to a Particular Directory from Explorer

If you want to open a command prompt to a directory that is selected in the Explorer:

Start Regedit

Go to HKEY_CLASSES_ROOT \ Directory \ shell

Create a new key called Command

Give it the value of the name you want to appear in the Explorer. Something like Open DOS Box

Under this create a new key called command

Give it a value of cmd.exe /k "cd %L"

Now when you are in the Explorer, right click on a folder, select Open DOS Box, and a command prompt will open to the selected directory.

No comments:

Post a Comment

Windows XP Tips and Tricks PAGES

HOME       2      3      4      5      6      7      8      9      10      11
Powered By Blogger