C / C++ / C#

  1. Home
  2. Computing & Technology
  3. C / C++ / C#

Add Command Prompt to the Windows Explorer Right Click Menu

By David Bolton, About.com

Here is how to add Command Prompt to the right click menu on a folder in Windows Explorer.

Create a text file, type in the following lines and save it as addprompt.reg.

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 %1"

Save this out and double click the file. Note this will modify the registry but we promise it is safe. Your anti-virus software might ask you to confirm the registry change and it is safe to allow it.

This adds Command Prompt to the Windows Explorer right click menu. Just right click on a folder, click Command Prompt and you will be at the command prompt in the selected folder. No need to type CD and the full path anymore.

More C / C++ / C# Quick Tips

Explore C / C++ / C#

About.com Special Features

Build Your Own Website

Step-by-step advice on how to do everything from choosing a Web host to promoting your content. More >

Connect Your Home Computers

Easy ways to connect two computers for networking purposes. More >

C / C++ / C#

  1. Home
  2. Computing & Technology
  3. C / C++ / C#
  4. Tools and Utilities
  5. Add Command Prompt to the Windows Explorer Right Click Menu

©2009 About.com, a part of The New York Times Company.

All rights reserved.