Pages

5/08/2002

Windows::Registry::Tip::Open a command prompt in any directory from Explorer


From: Windows 2000 Hints & Tips - Command Prompt In Any Directory had many nice graphics and step by step setup explanation. However, that page is unfortunately unavailable as of 1/6/2003.

After going to the CMD prompt, it is possible to avoid having to do a bunch of CD's to get to the directory you want. Right-Click on any directory in explorer and bingo!

Create and merge the following registry file:
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\shell\Command]
@="Command &Prompt"
[HKEY_CLASSES_ROOT\Directory\shell\Command\command]
@="cmd.exe /k \"cd %L\""

No comments: