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 first published in February 2002

Dig deeper on Windows Operating System Management

Pro+

Features

Enjoy the benefits of Pro+ membership, learn more and join.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchServerVirtualization

SearchCloudComputing

SearchExchange

SearchSQLServer

SearchWinIT

SearchEnterpriseDesktop

SearchVirtualDesktop

Close