PC Tools - Essential tools for your PC | United States & Canada
Search
 
 
Features
 
 
Newsletter
 
Registry Home > Windows > Accessories > Command Processor

Add Command Prompt Option to Every Folder (All Windows) Popular

If you still use the DOS prompt regularly then this setting creates a new right-click menu option to open a command prompt at the selected directory.

This tweak can be easily applied using WinGuides Tweak Manager.
Download a free trial now!

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

Now right-click on a folder and the new option of 'Command Prompt' should be available.

Registry Editor Example
|NameTypeData|
|(Default)REG_SZcommand.com /k cd "%1"|
-
|HKEY_CLASSES_ROOT\Directory\shell|
-
Registry Settings
System Key: [HKEY_CLASSES_ROOT\Directory\shell]
Value Name: (Default)
Data Type: REG_SZ (String Value)

Related Tweaks

>> Recommended Download - check, repair and optimize your registry now with Registry Mechanic <<

Disclaimer: Modifying the registry can cause serious problems that may require you to reinstall your operating system. We cannot guarantee that problems resulting from modifications to the registry can be solved. Use the information provided at your own risk.

Last modified: October 29, 2002

 
  Copyright © 1998-2009 PC Tools. All rights reserved. Privacy Policy | Legal Notice