Here are four methods by which one may add the "Command Prompt" to their "right-click menu" in WinXP/Vista:
=============================================
For ease of use you really need to add "Command Prompt" to your Windows Explorer "right click" options menu.
Method #1
- In explorer, open Tools, Folder Options.
- Select the File Types tab.
- For Windows XP: Go to NONE / Folder.
For Windows 2000: Press n to scroll to the N/A section.
For Windows NT/98/95: Press f to scroll to the Folders section.
- Select the entry labeled Folder
- For Windows 2000/XP: Press Advanced button.
For Windows NT/98/95: Press Edit button.
- Select New
- In the action block type "Command Prompt" without the quotes.
- In the app block type "cmd.exe" without the quotes.
- 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 Command Prompt and a command window opens in that folder.
==================================================
Method #2
As an alternate to the above method, it's really simple to make a quick Registry edit to add the Command Prompt to the Menu:
1. Navigate in your Registry to
Code:
HKEY_LOCAL_MACHINE/Software/Classes/Folder/Shell
and create a key called "Command Prompt" without the quotes.
2. Set the default string to whatever text you want to appear in the right-click menu.
3. Create a new key within your newly created command prompt named "command," and set the default string to
Code:
%SystemRoot%\Cmd.exe /k cd %1
4. The changes should take place immediately. Right click a folder and your new menu item should appear.
===================================================
Method #3
This is for the timid...
1. Open Notepad.exe... Cut and paste the text below.
Code:
[HKEY_CLASSES_ROOT\Directory\shell\Command]
@="Command Prompt:"
[HKEY_CLASSES_ROOT\Directory\shell\Command\Command]
@="cmd.exe /k cd %1"
2. Save the file as "addprompt.reg" (without the quotes of course!)
3. Double-click on the file you just saved. Note this will modify the registry but I 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.
=========================================
Method #4
There is a small utility from Microsoft that adds "open command window here" option to the folder's context menu. Just install:
http://download.microsoft.com/download/whistler/Install/2/WXP/EN-US/CmdHerePowertoySetup.exe