Up Arrow Recall previous command
Down Arrow Recall next command
Left Arrow Move cursor left
Right Arrow Move cursor right
Ctrl + Left Arrow Move cursor one word left
Ctrl + Right Arrow Move cursor one word right
Home Move cursor to the beginning of the line
End Move cursor to the end of the line
Ctrl + C Cancel the current command or process
Ctrl + V Paste text from clipboard (in Windows 10 and later)
Ctrl + X Cut selected text (in Windows 10 and later)
Ctrl + Z Undo the last action (in Windows 10 and later)
Ctrl + A Select all text in the current command line
Ctrl + E Move the cursor to the end of the command line
Ctrl + U Delete from the cursor to the beginning of the line
Ctrl + K Delete from the cursor to the end of the line
Tab Auto-complete file and folder names
F7 Show a history of previous commands in a list
F8 Recall commands matching the current input
F9 Recall a specific command from history (prompt for history number)
Alt + Enter Toggle full-screen mode (this shortcut may not work on newer versions of Windows Command Prompt)
Ctrl + Break Interrupt a process or command (similar to Ctrl + C but can sometimes be more effective)
Ctrl + Shift + C Copy text to the clipboard (in Windows 10 and later)
Ctrl + Shift + V Paste text from clipboard (in Windows 10 and later)
These shortcuts can help you navigate, edit, and manage commands more efficiently in the Windows Command Prompt.
Your experience on this site will be improved by allowing cookies.