Broge.com: Creating a CMD Prompt Here Context Menu Entry
    Broge.com logo    
       
     

Creating a Right-Click Command Prompt Entry

If you're from the old school and still use the command prompt regularly, then you can create a right-click option to open a command prompt window from the directory you're currently working in. Open your Registry using RegEdit (not RegEdit32 on NT), and find the key

HKEY_CLASSES_ROOT\Directory\shell

Create a new sub key called " CommandPrompt " as in

HKEY_CLASSES_ROOT\Directory\shell\CommandPrompt

Change the value of default within the key to equal the text you would like on the right-click menu, for example Open Command Prompt Here .

Create another new sub-key under the key you just created, and name this sub-key "command" as in

HKEY_CLASSES_ROOT\Directory\shell\CommandPrompt\command

Change the value of default within this key depending on your prompt of choice to equal either:

16-bit COMMAND.COM (this also works on Win9x):
command.com /k cd "%1"

or

32-bit Command Prompt (CMD):
cmd.exe /k cd "%1"

Now right-click a folder, and the new option of "Open Command Prompt" should be available.

 

Recycled HTML
Site design and maintenance by W3F Consulting and Design
Reliable, affordable website hosting provided by Globat
..::[ Copyright 2005 ]::..
Contact the WebMonkey