Common keyboard shortcuts in Command Prompt

Command Prompt is one of the most useful tools on the Windows operating system, allowing easy system control via the command line. This tool enables users to execute commands that would normally be inaccessible through other means. Lets explore the following common command prompt shortcuts compiled by TipsMake.

Essentially, Command Prompt is based on the use of MS-DOS commands, Microsoft's first operating system and the foundation of subsequent generations of Windows. Command Prompt, also known as CMD, is one of the most useful tools for those who want to explore more of Windows. Even on Windows 10, CMD is still retained; if you are using Windows 10, you can see how to open CMD on Windows 10 with administrator privileges here.

Common keyboard shortcuts in Command Prompt

Opening and closing Command Prompt:

- Windows + X , press the C key : Opens Command Prompt in normal mode (Windows 10).
- Windows + X , press the A key : Opens Command Prompt in Admin mode (Windows 10).
- Windows + R , type CMD : Opens Command Prompt in normal mode.
- Alt + F4 (or type "Exit"): Closes the Command Prompt window.
- Alt + Enter : Switches from full-screen mode to windowed mode.

Text manipulation shortcuts:

- Ctrl + Backspace : Deletes the word to the left of the cursor.
- Tab : Auto-completes the folder name.
- Escape : Deletes the current line.
- Ctrl + C ( Ctrl + Insert ): Copies the selected text.
- F2 + press a letter: Copies the text to the right of the cursor to the letter you type.
- Ctrl + V ( Shift + Insert ): Pastes text from the clipboard.
- Backspace : Deletes the character to the left of the cursor.
- Insert : Toggles insert mode, allowing you to type anything to insert at the current prompt position.
- Ctrl + Home/End : Deletes text from the insertion point at the beginning or end of the current line.
- Ctrl + Z : Marks the end of a line.

Navigation shortcuts:

- Home/End : Move the cursor to the beginning/end of the current line.
- Ctrl + Left/Right Arrow : Move the cursor to the previous/next word in the current line.
- Ctrl + Up/Down Arrow : Scroll the page up or down without moving the cursor.
- Ctrl + M : Access or exit markup mode. In markup mode, you can use the up, down, left, and right arrow keys to move the cursor around the window.

Text selection shortcut:

- Shift + End : Extends the current selection to the end of the line.
- Ctrl + A : Selects all text on the current line. Press again to select all text in the CMD buffer.
- Shift + Left/Right Arrow : Extends the current selection of a character to the left or right.
- Shift + Ctrl + Left/Right Arrow : Extends the current selection of a word to the left or right.
- Shift + Up/Down Arrow : Extends the current selection of a line up or down.
- Shift + Home : Extends the current selection to the beginning or end of a command. Press again to include the path in the selection.
- Ctrl + Shift + Home/End : Extends the current selection to the beginning or end of the buffer.
- Shift + Page Up/Page Down : Extends the current selection of a page up or down.

Shortcuts with Command history:

- Alt + F7 : Clear command history.
- F3 : Repeat the previous command.
- Up/Down arrows : Move back and forth between previously used commands.

- F7 : Display the history of previous commands. Alternatively, you can use the up/down arrow keys to select any command, then press
Enter to execute it.
- F8 : Move back to the command history to combine with the current command.
- Ctrl + C : Cancel the current line of input or the command being executed.


The above are basic commands and common keyboard shortcuts in Command Prompt. Hopefully, they will help you in working with CMD and exploring more of CMD in Windows. For those using Windows 8 or 7, you can refer to the following CMD commands, which will help you better understand the CMD command prompt through easy-to-understand examples.


Other System articles
  • How to find, restore, and open Command Prompt on Windows 10 Creators Update

    this article will guide you on how to find, restore, and open command prompt on windows 10 creators update. there are many ways to restore this very familiar function on windows 10 creators update. let's explore some methods to restore cmd on windows 10 creators update with taimienphi.
  • How to replace Command Prompt with PowerShell in the Power Menu on Windows 10

    in windows 10, powershell was added with functionality and an interface similar to command prompt, replacing the outdated command prompt. additionally, powershell has many more powerful features. however, microsoft still allows you to replace command prompt with powershell on windows 10 if you are not familiar with powershell.
  • Open Command Prompt with the default small size on Windows 10.

    opening command prompt, or cmd, is a tool used to execute commands on windows. users are usually familiar with the default size of command prompt and cmd. to open cmd in its default small size on windows 10 or to maximize it, you need to perform the following steps.
  • What are the differences between Command Prompt and PowerShell?

    many readers have asked about the difference between command prompt and powershell on windows, as these are two of the most popular command-line programs used by users to perform and process many important tasks. in this article, tipsmake will explain the differences between command prompt and powershell.
  • 15 common Command Prompt commands you should know on your computer.

    this compilation of 15 command prompt (cmd) commands on your computer will help you perform various tasks such as checking your network ip address, checking your internet connection speed, automatically shutting down your computer, and more. follow the detailed cmd commands below to apply them to your daily work.
  • Run any Command Prompt command using Cortana

    cortana may not be as popular as microsoft hoped, but there's no denying its usefulness. this article from tipsmake will guide you on how to run any command prompt (cmd) command using cortana.
Category

System

Windows XP

Windows Server 2012

Windows 8

Windows 7

Windows 10

Wifi tips

Virus Removal - Spyware

Speed ​​up the computer

Server

Security solution

Mail Server

LAN - WAN

Ghost - Install Win

Fix computer error

Configure Router Switch

Computer wallpaper

Computer security

Mac OS X

Mac OS System software

Mac OS Security

Mac OS Office application

Mac OS Email Management

Mac OS Data - File

Mac hardware

Hardware

USB - Flash Drive

Speaker headset

Printer

PC hardware

Network equipment

Laptop hardware

Computer components

Advice Computer

Game

PC game

Online game

Mobile Game

Pokemon GO

information

Technology story

Technology comments

Quiz technology

New technology

British talent technology

Attack the network

Artificial intelligence

Technology

Smart watches

Raspberry Pi

Linux

Camera

Basic knowledge

Banking services

SEO tips

Science

Strange story

Space Science

Scientific invention

Science Story

Science photo

Science and technology

Medicine

Health Care

Fun science

Environment

Discover science

Discover nature

Archeology

Life

Travel Experience

Tips

Raise up child

Make up

Life skills

Home Care

Entertainment

DIY Handmade

Cuisine

Christmas

Application

Web Email

Website - Blog

Web browser

Support Download - Upload

Software conversion

Social Network

Simulator software

Online payment

Office information

Music Software

Map and Positioning

Installation - Uninstall

Graphic design

Free - Discount

Email reader

Edit video

Edit photo

Compress and Decompress

Chat, Text, Call

Archive - Share

Electric

Water heater

Washing machine

Television

Machine tool

Fridge

Fans

Air conditioning

Program

Unix and Linux

SQL Server

SQL

Python

Programming C

PHP

NodeJS

MongoDB

jQuery

JavaScript

HTTP

HTML

Git

Database

Data structure and algorithm

CSS and CSS3

C ++

C #

AngularJS

Mobile

Wallpapers and Ringtones

Tricks application

Take and process photos

Storage - Sync

Security and Virus Removal

Personalized

Online Social Network

Map

Manage and edit Video

Data

Chat - Call - Text

Browser and Add-on

Basic setup