The fastest way to open Command Prompt
Press Windows key + R on your keyboard. A small box labeled "Run" will appear. Type cmd and press Enter. Command Prompt opens in a new window.
This method works on every version of Windows from Windows 7 onward. It is the quickest route if you know you need Command Prompt and want to get there without clicking through menus.
If the Run box does not appear, your keyboard may not have a Windows key, or it may be disabled. Use one of the other methods below instead.
Key Takeaways
- Windows key + R, then type cmd and press Enter, opens Command Prompt in seconds on any Windows version.
- You can also search for "cmd" or "command prompt" in the Windows Start menu and click the result.
- Right-clicking the Start button and selecting "Terminal" or "Command Prompt" opens it directly without searching.
- On Windows 11, the default terminal process is Windows Terminal, which includes Command Prompt as one of its tabs.
- Pinning Command Prompt to your taskbar saves you a step the next time you need it.
Opening Command Prompt from the Start menu
Click the Windows Start button in the lower left corner of your screen. The Start menu opens. Type cmd into the search box at the top. "Command Prompt" or "cmd.exe" appears in the results.
Click on "Command Prompt" to open it. On Windows 11, you may see "Command Prompt" and "Windows Terminal" as separate results — both work, though Windows Terminal is the newer process.
This method works on Windows 10 and Windows 11. On older versions like Windows 7 or 8, the search box is in the same location, but the layout may look slightly different.
Right-clicking the Start button for a faster route
Right-click the Windows Start button in the lower left corner. A menu appears with several options. Look for "Terminal" (Windows 11) or "Command Prompt" (Windows 10 and earlier). Click it.
This method skips the search step entirely. The menu appears when ready, and you can open Command Prompt with two clicks instead of three. On Windows 11, this opens Windows Terminal by default, but you can switch to the Command Prompt tab once it loads.
If you do not see this menu, your version of Windows may be older than Windows 10. Use the Start menu search method instead.
Finding Command Prompt in the Programs folder
Click the Start button. Scroll down through the list of applications until you see a folder labeled "Windows System" or "Accessories". Click to open it. "Command Prompt" appears in the list inside.
This method takes longer than searching or using the Run box, but it works on every Windows version. It is useful if you want to see where Command Prompt lives in your system, or if you plan to pin it to your taskbar for future use.
Pinning Command Prompt to your taskbar
Once you have opened Command Prompt using any of the methods above, right-click the Command Prompt window in your taskbar at the bottom of the screen. A menu appears. Click "Pin to taskbar".
The next time you need Command Prompt, you can click it directly from the taskbar without opening the Start menu or using the Run box. This saves time if you use Command Prompt regularly.
To remove it later, right-click the Command Prompt icon in the taskbar and select "Unpin from taskbar".
Opening Command Prompt as administrator
Some tasks in Command Prompt require administrator permissions — the ability to make changes to your system files or settings. If you need these permissions, open Command Prompt normally using any method above, then right-click the Command Prompt window in your taskbar and select "Run as administrator".
A dialog box may appear asking "Do you want to allow this app to make changes to your device?" Click "Yes". Command Prompt now has administrator permissions.
Alternatively, search for "cmd" in the Start menu, right-click "Command Prompt" in the results, and select "Run as administrator" before opening it. This opens it with permissions from the start, without needing to close and reopen it.
Understanding Windows Terminal on Windows 11
Windows 11 includes Windows Terminal, a newer process that can run Command Prompt, PowerShell, and other command-line tools in separate tabs. When you open Command Prompt on Windows 11 using the Start button or right-click menu, Windows Terminal may open instead.
Inside Windows Terminal, you will see tabs at the top. The "Command Prompt" tab runs the traditional Command Prompt. You can click between tabs to switch tools without closing the window. If you prefer the older Command Prompt window by itself, you can still open it using the Windows key + R method, which bypasses Windows Terminal.
Windows Terminal is optional — Command Prompt works exactly the same way inside it as it does in its own window. The choice is yours.
Frequently Asked Questions
Why does nothing happen when I press Windows key + R?
Your keyboard may not have a Windows key, or it may be disabled in your system settings. Try using the Start menu search method instead. If you have a laptop, check whether you need to hold the Fn key at the same time.
What is the difference between Command Prompt and Windows Terminal?
Command Prompt is the original command-line tool in Windows. Windows Terminal is a newer process that can run Command Prompt, PowerShell, and other tools in tabs. Both run the same commands — Windows Terminal is just a newer container for them. On Windows 11, Windows Terminal is the default, but Command Prompt still works the same way inside it.
Do I need administrator permissions to use Command Prompt?
Most basic commands work without administrator permissions. You only need them if you are changing system files, installing software, or modifying settings. If a command fails with a "permission denied" message, try running Command Prompt as administrator.
Can I open Command Prompt in a specific folder?
Yes. Open File Explorer, navigate to the folder you want, then type cmd in the address bar at the top and press Enter. Command Prompt opens with that folder as your starting location. This saves you from typing the full path to the folder.
What if I accidentally close Command Prompt?
Open it again using any of the methods above. Nothing you typed is saved unless you explicitly saved it to a file. If you need to keep a record of your commands, you can copy and paste them into a text editor before closing the window.