Monday, October 24, 2005

Windows Command Prompt

Windows Tip :: Add Command Prompt Option to Every Folder

Open your registry and find the key below.

Create a new sub key called 'Command' under the main key (i.e. [HKEY_CLASSES_ROOT\Directory\shell\Command]). Change the value of '(Default)' within the key to equal the text you would like on the right-click menu, for example 'Command Prompt'.

Create another new sub-key under the key created above, named 'command' (i.e. [HKEY_CLASSES_ROOT\...\Command\command]). Change the value of '(Default)' within this key depending on your operating system to equal either:

Windows 95, 98 or Me
command.com /k cd "%1"

or

Windows NT, 2000 or XP
cmd.exe /k cd %1

I got this from this link:

http://www.winguides.com/registry/display.php/260/

No comments: