Monday, May 05, 2008

How to add a Command Prompt option to the default Explorer right click context menu?

If you find that you frequently open a Command Prompt window and change to a specific directory, you can add the Command Prompt to your shortcut menu.

Method 1: Microsoft Powertoys
This is the easiest and most idiot-proof method. Use Microsoft Powertoys found HERE. Download the Open Command Window Here file and install it.

Method 2: Manually add the context menu
1. In explorer, open Tools, Folder Options.
2. Select the File Types tab.
3. For Windows XP: Go to NONE / Folder.
4. For Windows 2000: Press n to scroll to the N/A section.
5. For Windows NT/98/95: Press f to scroll to the Folders section.
6. Select the entry labeled Folder
7. For Windows 2000/XP: Press Advanced button.
8. For Windows NT/98/95: Press Edit button.
9. Select New
10. In the action block type "Open Command Window Here" without the quotes.
11. In the app block type "cmd.exe" without the quotes.
12. Save and exit Folder Options.

Now right click on Start, you should have a new drop down option. Open explorer and right click on a folder, select Open Command Window Here and a command window opens in that folder.

No comments: