Problem solve Get help with specific problems with your technologies, process and projects.

Launch command prompt at pre-selected folder

Right-click on a folder in the Windows Explorer and launch a command prompt window that is already at the selected folder.

This tip was submitted to the searchWin2000 Tip Exchange by member Gerry Morgan. Let other users know how useful...

it is by rating the tip below.

This tip enables you to right-click on a folder in the Windows Explorer and launch a command prompt window that is already at the selected folder (no need to use 'cd' to get there).

  1. Launch Windows Explorer.
  2. Choose Tools from the menu, then Folder Options.
  3. In the Folder Options window, click the File Types tab.
  4. Scroll down the list until you reach the items whose Extension is 'N/A'. One of these items is called 'Folder'.
  5. Click on the 'Folder' item to select it, then click the Advanced button. In the Edit File Type window, you will see a list of actions (probably only 'explore' and 'open').
  6. Click the New button. The New Action dialog will appear.
  7. In the text box labeled 'Action:', type "Command Prompt Here" (without the double quotes).
  8. In the text box labeled 'Application used to perform action:', type "cmd.exe" (without the double quotes).
  9. Click OK to dismiss each dialog in turn.
  10. In Windows Explorer, right click on a folder. Notice that there is now a new item in the context menu called "Command Prompt Here". Clicking this item will open a command prompt at the chosen folder.

This was last published in February 2002

Dig Deeper on Windows Operating System Management



Find more PRO+ content and other member only offers, here.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.