35+ Command Prompt Keyboard Shortcuts

Command Prompt is an excellent tool to play with the Windows settings and perform many other tasks like advanced administrative functions and Windows troubleshooting using the run commands

Though you might be using it regularly for various purposes, you would be unaware of the surprising number of the keyboard shortcuts it supports.

To fix various Windows 10/11 problems, we recommend Outbyte PC Repair:
This software will repair common computer errors, protect you from file loss, malware damage, hardware failure, and optimise your computer for peak performance. In three simple steps, you can resolve PC issues and remove virus damage:

  1. Download Outbyte PC Repair Software
  2. Click Start Scan to detect Windows 10/11 issues that may be causing PC issues.
  3. Click Repair All to fix issues with your computer's security and performance.
    This month, Outbyte has been downloaded by 23,167 readers.

Since Command Prompt is mostly keyboard-oriented, it would be more productive for you to get used to the keyboard shortcuts and minimize the mouse usage.

Let us list out the most useful Command Prompt keyboard shortcuts that would reduce your stress of using mouse repeatedly.

  How to Customize Command Prompt Appearance in Windows 10

Shortcuts For launching and Closing Command Prompt

Windows 10 provides a number of ways to open the Command Prompt. Here are some of the ways to quickly launch it just using the keyboard.

Windows and type ‘cmdopen the Command Prompt
Windows+R, type ‘cmd’ and hit Enteropen the Command Prompt
Windows+X and press Copen the Command Prompt
Windows+X and press Aopen the Command Prompt in Administrator mode
Alt+F4Close the Command Prompt
Alt+EnterSwitch to Full-Screen mode
Alt+F11Switch to Full-Screen Mode 

It is always recommended to launch Command Prompt with Administrative rights as most of the advanced options require that.

Shortcuts for Selecting Text

Command Prompt Text Select

Command Prompt supports many keyboard options that would allow you to select a text, a word, a line, or a full screen at a time.

Ctrl+ASelect all text in the current line
Shift+Right/Left ArrowExtend to the right or left of the current selection
Shift+Ctrl+Right/Left ArrowExtend by one word to the right or left of the current selection
Shift+Up/Down ArrowExtend by one line up or down of the current selection
Shift+HomeExtend to the beginning of the command from the current selection. To include the path in the selection, again press Shift+Home
Shift+EndExtend the selection to the end of the line from the current position
Ctrl+Shift+HomeExtend to the beginning of the screen from the current selection
Ctrl+Shift+EndExtend to the end of the screen from the current selection
Shift+Page UpExtend one page up from the current selection
Shift+Page DownExtend one page down from the current selection

Shortcuts to Text Action

In the previous section, you got to know how to select the text. In this section, you would learn how to perform manipulative action on the selected text.

Copy Shortcut Key
Ctrl+C (or Ctrl+ins)Copy the currently selected text. (Only if the text is selected, otherwise it would abort the running command)
Ctrl+VPaste the copied text or command
F2 + (a letter)Copy the text from the currently selected point to the right of the letter you typed
BackspaceDelete the character to the left of the pointer
Ctrl+BackspaceDelete the word to the left of the pointer
TabAutocompletes the folder name
EscapeDelete the current line of text
InsertON/OFF the insertion mode. When insertion is ON anything you type would insert at the current location
Ctrl+HomeDelete text to the beginning from the current point
Ctrl+EndDelete text to the end from the current point

Movement Shortcuts

HomeMove the insertion point to the beginning of the line
EndMove the insertion point to the end of the line
Ctrl+Left ArrowMove the pointer to the beginning of the previous word
Ctrl+Right ArrowMove the pointer to the beginning of the next word 
Ctrl+Up/DownScroll the Command page up and down without moving the insertion point.
Ctrl+MEnter the mark mode that allows you to move the cursor all over the windows using up, down, left, and right arrow keys.

Command History Shortcuts

You might be not aware of the fact that the Command Prompt keeps the history of all the commands you have typed during the current session. Following commands can be used to access those.

F3Repeat the previous command
Up/Down ArrowScroll forward and backward at earlier commands you have entered
Right ArrowRe-type the last command as it is
F7Provide the history of earlier commands. Use up and down arrow keys to select and press enter to execute that command.
Alt+F7Clear the command history
F8Move backward in history to the commands matching the current command
Ctrl+CStop executing the current command. If you have selected a command, then it would perform the copy function.

Final Words

So these are the top command prompt keyboard shortcuts. Seeing them together, it may seem like a massive task to remember them all. Do not worry. If you are a regular Command Prompt user, you will get used to these commands if you frequently apply them. If you are not a regular user, then also learning some commands can fasten your work.

Command Prompt Keyboard Shortcuts FAQs

1. What are Ctrl Shortcuts?

The shortcuts that are performed using the combination of Ctrl key plus the other keys are known as Ctrl Shortcuts. Like Ctrl+C for copy, Ctrl+V for paste, Ctrl+Z for undo, etc.

2. How to open Command Prompt with keyboard only?

To launch Command Prompt using the keyboard, press Windows key + X, and press C if you want to open the Command Prompt normally or press if you’re going to open Command Prompt with admin rights.

2 thoughts on “35+ Command Prompt Keyboard Shortcuts”

Leave a Comment