Command Prompt Tweaks - Add Command Prompt Option to Every Folder

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.

To do this follow the next steps:

  1. Open the Registry Editor click on the Start button on your taskbar, then click on Run and type "regedit" and click on OK to start the regedit utility.
     
  2. Create a new sub key called "Command" under the main key (i.e. [HKEY_CLASSES_ROOT\Directory\shell\cmd]). Change the value of "(Default)" within the key to equal the text you would like on the right-click menu, for example "Command Prompt" (see picture 1).

    Picture 1
  3. Create another new sub-key under the key created above, named "command" (i.e. [HKEY_CLASSES_ROOT\...\cmd\command]). Change the value of "(Default)" within this key depending on your operating system to equal (see picture 2) either:

    cmd.exe /k cd %1
     
    Picture 2
  4. Now right-click on a folder and the new option of "Open Command Windows Here" should be available.

Author:

Lex van der Horst

Date Added:

19-03-2004

Last Reviewed:

29-09-2004