Options to open the Command Prompt in a folder under Windows

RECOMMENDED: Click here to fix Windows errors and optimize system performance

Command Prompt is a Windows function that allows you to run MS-DOS and other computer commands and perform tasks on your computer without using the Windows GUI. There are several ways to start the command prompt windows.

Open a command prompt window in any folder

April 2021 Update:

We now recommend using this tool for your error. Additionally, this tool fixes common computer errors, protects you against file loss, malware, hardware failures and optimizes your PC for maximum performance. You can fix your PC problems quickly and prevent others from happening with this software:

  • Step 1 : Download PC Repair & Optimizer Tool (Windows 10, 8, 7, XP, Vista – Microsoft Gold Certified).
  • Step 2 : Click “Start Scan” to find Windows registry issues that could be causing PC problems.
  • Step 3 : Click “Repair All” to fix all issues.


In this post, we see two very simple ways to open a command prompt window in any folder or on the desktop without having to navigate in the menu. The first is the context menu.

Press the Shift key and use the context menu.

To open a command prompt window in any folder, simply hold down the shift key and right-click the desktop. In the context menu, you see option Open command window . A click on this button opens a CMD window.

You can also do the same thing in any folder. The command prompt takes the path to the folder from which it is opened.

Windows 10 v1709 replaced Open control window here with Open PowerShell window here. But with a registry setting, you can restore the Open Window command here in the Windows 10 folder context menu.

Type CMD in the address bar

There is another trick to do the same. Navigate to the folder, then simply type CMD in the address bar and press Enter to open the input window.

The CMD takes the path to this folder.

Speaking of the command prompt, there are some tricks you may not know, including how to open an expanded command prompt with a CMD. Look at her!

RECOMMENDED: Click here to troubleshoot Windows errors and optimize system performance

Related Video