Open a command-line console
This page explains how to open a command-line console in Windows.
Here are two ways
-
- Press Windows+X
⊞ Win
+X
- Click on "Command Prompt"
- Press Windows+X
-
- In the Windows search box type "cmd"
- Click on "cmd.exe"
There are many other ways. See, for example, 10 Ways to Open the Command Prompt in Windows 10.
Open a command-line console in a given directory

Here is a neat way to open a command-line console in a given directory from Windows File Explorer.
- Open the directory in Windows File Explorer.
- Press Alt+D
- Type cmd
- Press Enter
Microsoft Windows [Version 10.0.14393] (c) 2016 Microsoft Corporation. All rights reserved. C:\Scratch\test1>
See also
Contact us
To contact us or comment on this page, please send us a message.
This page first published 3 November 2023. Last updated 3 November 2023