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

Add Command Prompt to the Windows Explorer Right Click Menu

By , About.com Guide

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.

Explore C / C++ / C#
About.com Special Features

Holiday Central

What to eat, where to go, fun things to do and how to save money on the perfect gifts. More >

Family Tech Center

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

  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.