Author: Faith Cheruiyot
Monday, January 24, 2022

How to Open the Command Prompt in Windows 10


Category: Windows 10

If you've ever worked with codes, you're probably familiar with the Command Prompt. The Command Prompt is a program that is installed on all Windows computers and allows you to manage the computer with text commands. However, unlike other apps, the Command Prompt is not always easy to locate.

There are several ways to open Command Prompt on Windows 10. The Power User Menu, which you can access by right-clicking the Windows icon in the bottom-left corner of your screen or by the keyboard shortcut Windows Key + X, is the quickest way to open a Command Prompt window. It will appear twice in the menu: Command Prompt and Command Prompt (Admin).

This article will show you the best ways to open Command Prompt on Windows 10 and all basic Command in Command prompts— and how you can use them. Read on to know when and how you can use Command Prompt. 

How to Open the Command Prompt in Windows 10

The Command Prompt was launched in the late 80s. Due to its popularity, Microsoft has made it easy to access it in different ways. 

However, in the latest Windows 10 version, Microsoft seems to replace Command Prompt with Windows PowerShell. This means you can run similar commands on PowerShell as you will do on the Command Prompt App. 

Every Windows power user understands that opening a Command Prompt window is frequently the quickest way to get things done— just like keyboard shortcuts. For some tasks, it is the only way. Here's a list of the best ways to get to the command line on Windows 10:

How to Open the Command Prompt in Windows 10

Use Run App to Open Command Prompt on Windows 10

The Run app can be used to open programs, documents, and folders on your Windows 10 computer. Similarly, you can use the same app to open the Command Prompt. 

There are two main ways to open the Run app: by pressing the Windows button + R or searching the Run app on the search box. 

Once the app is open, you will see a text box. Type cmd to open the app. You can then click OK, or press Enter on your keyboard. 

How to Open the Command Prompt in Windows 10

Use the Windows PowerShell to open the Command Prompt on Windows 10

The command I will use in this method is the same one you can use on the command prompt to open the command prompt. 

To open the Windows 10 Powershell, open the Run app by pressing the Windows button + R. Type powershell in the text box on the Run dialog window. Press Enter on the PC keyboard or click OK.

How to Open the Command Prompt in Windows 10

This method will open regular Windows PowerShell if you want to open the elevated PowerShell Window, press Ctrl + Shift + Enter. 

Once the PowerShell is open, type this command: start cmd.exe and press Enter. 

How to Open the Command Prompt in Windows 10

Use Search Box to open the Command Prompt on Windows 10

The Windows Search is a tool to search any app inside your computer. You can do the same to open the Command Prompt.

Type Command Prompt on the Search box found on the bottom-left side of your computer screen. The search results will show Command Prompt. Click on Open on the right side of the search results, as shown in the screenshot below. 

How to Open the Command Prompt in Windows 10

Use Task Manager to Open Command Prompt on Windows 10

There are two methods to open Command Prompt from the Task Manger— the quick one and the quicker one. 

Quick one: Press Ctrl + Shift + Esc.

How to Open the Command Prompt in Windows 10

Once open, click on the File tab. From the drop-down menu, click Run New Task.

How to Open the Command Prompt in Windows 10

A new window will appear— Create New Task. On the text box against Open, insert this character: cmd. Click OK or hit Enter to open the Command Prompt. 

How to Open the Command Prompt in Windows 10

The Quicker one: Here, you press and hold on the Ctrl button while clicking on the New Task Task tab on the Task Manager File drop-down menu. The Command Prompt will appear immediately without typing anything as I did on the Quick method above. 

Use .exe Command Prompt File to Open Command Prompt. 

This method sounds like a tongue twister, but let me simplify it for you. 

Each PC program has an executable file. Once you double click on those files, the respective program will launch. 

To open the Command Prompt .exe file, go and open File Explorer (Check it on your local Disk {C.}). Open the System Folder then Windows then System32. 

On System32, scroll down looking for Command Prompt .exe file. To open the cmd, double-click on the file— Command Prompt launches. 

How to Open the Command Prompt in Windows 10

Use Start Menu to open Command Prompt on Windows 10

On the bottom left corner, click on the Windows Icon the scroll down looking for Windows System. Click on the down arrow to view the drop-down items on the folder. 

There are several items listed under the Windows system. Click on the Command Prompt. 

How to Open the Command Prompt in Windows 10

Use WinX Menu to Open Command Prompt on Windows 10

WinX menu is also referred to as Power User Menu. There are two ways to launch the Power User menu; the first one is by pressing the Windows button + X and the second one is by right-clicking on the Windows icon on the bottom left corner of your computer screen. 

From the list, look for the Command Prompt or Command Prompt(Admin) as shown in the picture below. 

How to Open the Command Prompt in Windows 10

NOTE: This method can only work with older versions of Windows 10. Microsoft replaced Command Prompt with Windows PowerShell on the list of the latest Windows 10 version. 

Use Cortana to Open the Command Prompt on Windows 10

Cortana is the Windows 10 digital assistant— you can ask it to open Windows 10 Command Prompt. Click on the Cortana from the taskbar to open it. 

To launch the Command Prompt, click on the Cortana app on the taskbar. Click on the microphone at the bottom-right side of the Cortana app. Say 'open Command Prompt' and the app will open the command prompt window immediately. 

If your microphone on the Cortana app is not working or you don't feel like speaking, you can go ahead and type 'open command prompt' on the Cortana search bar. 

How to Open the Command Prompt in Windows 10

Use Command Prompt to open Command Prompt on Windows 10

At times, you might want to have two sessions of command prompt on your computer. To achieve that, you can use the command to open the second one— while on the first session.

While on the first Command Prompt, run this command: start cmd.exe and press Enter. This will open a new Command Prompt window instantly. 

How to Open the Command Prompt in Windows 10

Use File Explorer to open Command Prompt on Windows 10

This is quite a simple method. All you need is to type System32 on the address bar at the top of the Window and hit  Enter.  Use the folder 'This PC' to type in the character above. 

Right-click on the file cmd, and select Run as an Administrator. 

How to Open the Command Prompt in Windows 10

 

What are the basic commands in Command Prompt?

There are about 300 commands in Command Prompt. Below is a table of the basic Commands on windows 10 Command Prompts:

CMD commandFunctionExample in Use
bitsadminMonitors uploads and downloadsHow to Open the Command Prompt in Windows 10
xwizardRegisters data in form of XML filesHow to Open the Command Prompt in Windows 10
wmicLaunches Windows Management Instrumentation. You can change local and remote computer settings hereHow to Open the Command Prompt in Windows 10
winmgmtIt is a command to manage WMI repositories, eg. You can initiate backups with this commandHow to Open the Command Prompt in Windows 10
verIt displays the current version number of MS-DOS or WindowsHow to Open the Command Prompt in Windows 10
tzutilShows the current time zone or changes itHow to Open the Command Prompt in Windows 10
titleThis changes the title of the command prompt. Some special characters like slash are not allowed as they might be interpreted as parameter instructions. Spaces are allowed, though. How to Open the Command Prompt in Windows 10
tree

It displays the structure of a path or drive. With /F, all folder files are listed out. With /A, ensures only ASCII characters are used in the graphical representation. 

How to Open the Command Prompt in Windows 10
timeShows the current time and allows you to change it. If you enter /T, the  command prompt displays time without changing itHow to Open the Command Prompt in Windows 10
timeoutIt is used in batch scripts and files to stop a specified process. eg /nobreak parameter ignores keyboard input.How to Open the Command Prompt in Windows 10
tasklistAll running processes are listed here. You have to specify the process ID required for the taskkill command.How to Open the Command Prompt in Windows 10
cdShows the current directory and lets you switch to others. it has the same command as chdirHow to Open the Command Prompt in Windows 10
choiceCreates a selection of lists— eg. the selection of Yes (Y)  and No (N) that is created with /C YN. /M adds an explanatory text to the userHow to Open the Command Prompt in Windows 10
chcpChanges the current code page (character set table) or displays the current code page's page count.How to Open the Command Prompt in Windows 10
chdirDisplays the current directory and allows you to switch between them. You can also switch drives using the parameter /D plus drive and path specification. To move to a higher directory, use chdir— which has the same function as the cd commandHow to Open the Command Prompt in Windows 10
clipThe result of a command is copied to the clipboard. You can copy the directory structure (dir clip) or the content of a file (clip filename) to the clipboard, for example.How to Open the Command Prompt in Windows 10
clsClears the screen's content.How to Open the Command Prompt in Windows 10
colorChanges the command prompt's background (first value) and text color (second value). The color ranges from 0 (black) to F. (white).How to Open the Command Prompt in Windows 10
cmdLaunches cmd.exe.How to Open the Command Prompt in Windows 10
commandLaunches cmd.com.How to Open the Command Prompt in Windows 10
doskeyCreates macros, edits command edits, and recalls commandsHow to Open the Command Prompt in Windows 10
dateDebug, a program that can test and modify programs within the command prompt, is launched.How to Open the Command Prompt in Windows 10
dirDebugs, a program that can test and modify programs within the command prompt, is launched.How to Open the Command Prompt in Windows 10
dosshellThe DOS shell, a visual file management tool, is launched. Windows Explorer replaces the DOS shell in Windows.How to Open the Command Prompt in Windows 10
fastopenWrites a program's position into a specified list in working memory, which should speed up program startup.How to Open the Command Prompt in Windows 10
echoDisplays a message and is most commonly found in scripts and batch files.How to Open the Command Prompt in Windows 10
editStarts the MS-DOS editor, which can be used to create text files.How to Open the Command Prompt in Windows 10
exitEnds cmd.com and cmd.exeYou can't see it. It's gone
edlinWithin the command prompt, it creates and edits text files.How to Open the Command Prompt in Windows 10
fasthelpShows important information about command promptsHow to Open the Command Prompt in Windows 10
debugDebug, a program that can test and modify programs within the command prompt, is launched.How to Open the Command Prompt in Windows 10
fastopenWrites the position of a program into a specified list in working memory, which should speed up program startup.How to Open the Command Prompt in Windows 10
findstrCharacter sequences can be found in one or more files. When compared to the find command, it provides more options: you can search for files that contain specific terms, or you can search for an exact word order with /C.How to Open the Command Prompt in Windows 10
findSearches a file or multiple files for a specific character sequence. Use the /C parameter if you only want to know how frequently the word or phrase appears. The command ignores upper- and lower-case characters in the search when the extension /I is used.How to Open the Command Prompt in Windows 10
keybChanges the keyboard's country settings for DOS programs (only included in Windows for compatibility). In newer versions of Windows, kb16 has taken its place.How to Open the Command Prompt in Windows 10
forcedosStarts a program in the MS-DOS partial system if it is not directly recognized as a DOS program by Windows XP.How to Open the Command Prompt in Windows 10
graftblIn graphics mode, this option enables the use of extended characters from a specific code page.How to Open the Command Prompt in Windows 10
kb16Changes the keyboard's country settings for DOS programs (only included in Windows for compatibility). (Replaces the previous command keyb)How to Open the Command Prompt in Windows 10
graphicsStarts a graphics-printing program.How to Open the Command Prompt in Windows 10
helpDisplays help text for a specific command (the /? command can also be used).How to Open the Command Prompt in Windows 10
lpqFor computers that use a "line Printer Daemon," this command displays the status of a printer queue (LPD). (To use the command in Windows 10, 8, 7, or Vista, first enable the LPD print service and the LPR port monitor.)How to Open the Command Prompt in Windows 10
logoffThis command logs the user out of Windows. You can also terminate server sessions.Do it if you want to log off out of the Windows
mkdirOn the specified path, it creates a new directory. If a directory does not already exist on the path, mkdir creates it (you can also use the md command).How to Open the Command Prompt in Windows 10
mdOn the specified path, it creates a new directory. If directories do not already exist on the path, md creates them (you can also use the mkdir command).How to Open the Command Prompt in Windows 10
lprSends a file to a computer equipped with a line printer daemon (LPD). To use the command in Windows 10, 8, 7, or Vista, first enable the LPD print service and the LPR port monitor.How to Open the Command Prompt in Windows 10
msgSends a file to a computer that has a line printer daemon running (LPD). To use the command in Windows 10, 8, 7, or Vista, you must first enable the LPD print service and LPR port monitor.How to Open the Command Prompt in Windows 10
moreThe page outputs the content of a file (for example, a text file). The command can also be used to divide the output of another command into pages.How to Open the Command Prompt in Windows 10
pushdThis function saves a specific path to a script or batch file. With popd, you can navigate to this directory.How to Open the Command Prompt in Windows 10
nlsfuncProvides country-specific language support information.How to Open the Command Prompt in Windows 10
promptThis command modifies the appearance of the command prompt.How to Open the Command Prompt in Windows 10
printThis function prints a text file. It is necessary to specify the printing device.How to Open the Command Prompt in Windows 10
ntbackupBackup services can be started directly from the command line or as part of batch or script files.How to Open the Command Prompt in Windows 10
popdBackup services can be launched directly from the command line or as part of batch or script files.How to Open the Command Prompt in Windows 10
pauseStops the execution of batch files and scripts. The user is then prompted to continue by pressing a key in a message.How to Open the Command Prompt in Windows 10
pathThe path for searching executable files is created and displayed.How to Open the Command Prompt in Windows 10
shutdownShuts down the computer (/s), triggers a restart (/r), or logs the user out (/l). If you enter the parameter /I as the first option in the command, a graphical user interface is displayed.How to Open the Command Prompt in Windows 10
rdThis command deletes a directory. This must not contain any files, even if they are hidden. The /S parameter allows you to delete an entire directory tree (you can also use the rmdir command).How to Open the Command Prompt in Windows 10
rmdirThis command deletes a directory. This must not contain any files, even if they are hidden. The /S parameter allows you to delete an entire directory tree (you can also use the rd command).How to Open the Command Prompt in Windows 10
schtasksSets the execution of specified programs and commands for a given time period. All scheduled tasks can be created, deleted, changed, and displayed.How to Open the Command Prompt in Windows 10
runasAllows one user to execute commands with the rights of another. For example, if you know the password, you can run a command as an administrator from a normal user account.How to Open the Command Prompt in Windows 10
shiftVariables are moved within batch files and scripts.How to Open the Command Prompt in Windows 10
startOpens a new command prompt window where you can execute a specific program or command.How to Open the Command Prompt in Windows 10
changeThe change command modifies terminal server settings such as installation modes, COM port mappings, and logons.How to Open the Command Prompt in Windows 10
chkntfsThe chkntfs command is used to configure or display the disk drive's checking during the Windows boot process.How to Open the Command Prompt in Windows 10
cscriptThe cscript command is used to run scripts through Microsoft Script Host. The cscript command is available in all Windows versions. The cscript command is most commonly used to manage printers from the command line by executing scripts such as prncnfg.vbs, prndrvr.vbs, prnmngr.vbs, and others.How to Open the Command Prompt in Windows 10
diantzThe diantz command is used to compress one or more files losslessly. Cabinet Maker is another name for the diantz command.How to Open the Command Prompt in Windows 10
netshThe netsh command launches Network Shell, a command-line utility for managing the network configuration of a local or remote computer.How to Open the Command Prompt in Windows 10
nltestThe nltest command is used to test secure channels between domain computers and domain controllers that trust other domains.How to Open the Command Prompt in Windows 10
regThe reg command is used from the command line to manage the Windows Registry. The reg command can be used to perform common registry functions such as adding registry keys, exporting the registry, and so on.How to Open the Command Prompt in Windows 10
reginiThe regini command is used from the command line to set or change registry permissions and registry values.How to Open the Command Prompt in Windows 10
regsvr32The regsvr32 command is used to register a DLL file in the Windows Registry as a command component.How to Open the Command Prompt in Windows 10
seceditBy comparing the current security configuration to a template, the secedit command is used to configure and analyze system security.How to Open the Command Prompt in Windows 10
sfcThe sfc command is used to check and replace critical Windows system files. Depending on the operating system, the sfc command is also known as System File Checker or Windows Resource Checker.How to Open the Command Prompt in Windows 10
sxstraceThe sxstrace command launches the WinSxs Tracing Utility, which is a programming diagnostic tool.How to Open the Command Prompt in Windows 10
vssadminThe vssadmin command launches the Volume Shadow Copy Service administrative command line tool, which displays all installed shadow copy writers and providers as well as current volume shadow copy backups.How to Open the Command Prompt in Windows 10

Conclusion

Microsoft is replacing the Command prompt with Windows PowerShell. There is no apparent reason, but you can still use the same commands you used. 

Windows PowerShell is a more recent program that functions similarly to Command Prompt. Some versions of Windows 10 replace Command Prompt in the menus where you'd generally find it.

PowerShell has nothing wrong; it can do pretty much everything Command Prompt can, but if you're used to it, it's simple to switch back. You can use the command to perform many tasks on Windows 10, including opening task manager. 

Creator Profile
Joined: 6/2/2021

ver: 20240319T150530
×

MEMBER
Login
COMMUNITY
Forum Blog
SERVICES
Android Repair Backup Custom PC Build Data Restore DC Jack Diagnostic Email Migration Email Setup Game Console Repair In Home iPad Repair iPhone Repair iPod Repair Mac Repair Monitor Repair Networking New Computer Setup Printer Repair Remote Assistance Security Smart Home Stereo Repair Tablet Repair Theater Tune Up Tutorial TV Repair
ARTICLE CATEGORY
Android Apple Cloud Device Technology Ethics Hardware Troubleshooting Internet Network Personal Computer (PC) Product Review Security Software Asset Software Troubleshooting Technology Concepts Windows 10 Windows 11 Windows Software