Shortcuts For Command Prompt – Majorly Used Ones!

Almost all of the Windows users will be very familiar with the word “Command Prompt“. This is one of the most useful mediums in order to execute several tasks and get things done in your Windows Operating System. However, initial users might find it a bit difficult to work in with Command Prompt as it mostly relies on several keyboard inputs and shortcuts. Here we will discuss about some of the important shortcuts in order to run/close/edit text and besides perform other functions in your Command Prompt window.



There a quite a lot many ways to launch the Command Prompt. Here are few keyboard shortcuts that might come handy to you for quicker access to your Command Prompt:

  • Windows + R and type cmd: To run the Command Prompt in the Normal Mode.
  • Windows + X and Press A: Running of Command Prompt with Administrative Privilege.
  • Windows + X and Press C: Running of Command Prompt in Normal Mode.
  • Alt + Enter: To toggle between full-screen and Window mode.
  • Alt + F4 and type ‘exit’: Closing the Command Prompt.


The most easiest way is to move your mouse and place the cursor wherever desired. However, some of the keyboard shortcuts include:

  • Home/End: Shift the insertion point to the beginning/end of the command line respectively.
  • Ctrl + Up/Down: Scrolling the page Up/Down without shifting the insertion point.
  • Ctrl + Left/Right: Shifting of insertion point to the beginning of previous/next work on command line.



Here are few of the keyboard shortcuts in order to select any text in the Command Prompt window. The shortcuts include selection for a word, line, character, etc.

  • Ctrl + A: Selecting all text in the current line. Pressing of same command lets you select entire text in CMD buffer.
  • Shift + Left/Right Arrow: Selecting a character to the Left/Right in the current line.
  • Ctrl + Shift + Left/Right Arrow: Selecting a word to the Left/Right in the current line.
  • Shift + Up/Down Arrow: Selecting one line Up/Down in the current line.
  • Shift + Home: Extending current selection to the start of the command line.
  • Shift + End: Extending current selection to the end of the command line.
  • Ctrl + Shift + Home/End: Extending current selection to the beginning/end of the screen buffer.
  • Shift + PageUp/PageDown: Extending current selection by an entire page Up and Down respectively.



Sometimes it might happen that you might need to change the text in the Command Prompt and replace/alter the existing commands with other ones. Following shortcuts might come handy to you in that case:

  • Ctrl + C/Insert: Copy the current selected text.
  • Ctrl + V or Shift + Insert: Paste the selected text from clipboard.
  • Backspace: Delete the character on the left of the insertion point.
  • Ctrl + Backspace: Delete the word on the left of insertion point.
  • Escape: Delete the current line of the text.
  • Tab: Autocomplete a folder name.
  • F2 and a letter: Copy upto the letter you have typed at the right of the insertion point.
  • Insert: Toggling the insertion mode. When OFF, it will overwrite things already there. When ON, anything that you type will be inserted to the right.
  • Ctrl + Z: Indicates the end of the line. Anything being typed after this will be ignored.
  • Ctrl + Home/End: Delete all the text to the beginning/end of the command line after the insertion point.

We believe once you get familiar to using these commands, you can easily change/alter things at your end as per your needs. In case you have any queries, drop us a message in the comments section below.

Leave a Reply

55 − = 48