Comprehensive List of Command Prompt Keyboard Accelerators (Shortcut Keys)

Windows command prompt shell window does not support use of mouse click to access its various functions. For programmers or developers or advanced users who frequently use command prompt to do their works, the following list of keyboard accelerators also known as keyboard shortcuts or hot keys will be handy to speed up their task. The shortcut keys work in command prompt window or DOS prompt, works in almost every version of Windows including Vista, XP, 2003, 2000 and etc, not to be confused with keyboard accelerator in Windows.

Left/right arrow
Move cursor backward/forward one character.

Ctrl + left/right arrow
Move cursor backward/forward one word.

Home/End
Move cursor to beginning/end of line.

Up/down arrow
Scroll up (and back) through list of stored commands (called the Command Buffer or History). Each press of the up key recalls the previous command and displays it on the command line.

Page Up/Down
Recall oldest/most recent command in buffer.

Insert
Toggle insert/overtype mode (block cursor implies overtype mode).

Esc
Erase current line.

F1
Repeat text typed in preceding line, one character at a time.

F2 + key
Repeat text typed in preceding line, up to first character matching key.

F3
Repeat text typed in preceding line.

F5
Change the template for F1, F2, and F3 (described earlier) so that earlier commands are used as the template; press F5 repeatedly to cycle through the entire command buffer.

F6
Place an end-of-file character (^Z) at current position of command line.

F7
Show all entries in Command Buffer (History).

Alt-F7
Clear all entries in Command Buffer (History).

chars + F8
Entering one or more characters chars followed by F8 will display the most recent entry in the Command Buffer beginning with chars. Pressing F8 again will display the next most recent matching command, and so on. If no characters are specified, F8 simply cycles through existing commands in buffer.

F9 + command#
Display designated command on command line; use F7 to obtain numbers.

Ctrl-C
Interrupt the output of most Command Prompt applications.


One Response to “Comprehensive List of Command Prompt Keyboard Accelerators (Shortcut Keys)”

  1. Complete List of Windows Vista Keyboard Shortcuts (Hot Keys or Accelerators) » My Digital Life
    April 9th, 2007 02:05
    1

    [...] For keyboard accelerators listed by function, refer to page 2. For keyboard shortcuts for DOS prompt, visit here. [...]

Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe to comments feature has been disabled. To receive notification of latest comments posted, subscribe to My Digital Life Comments RSS feed or register to receive new comments in daily email digest.
Custom Search

New Articles

Incoming Search Terms for the Article

shortcut keys in dos - hotkeys for dos under windows - dos commands shortkey - hp command prompts list - cmd shortcut keys - command prompt keyboard - access c:/ prompt hotkey dell - asus chinese character shortcut - command promt shortcut key - how to open command prompt keyboard shortcut - keyboard commands in dos - use shortcut keys from command line - vista f8 command prompt - ctrl f7 cmd.exe - dos repeat previous line - how to key commands in command prompt - shortcut keys using command prompt - command prompt hotkey - command prompt terms - dos prompt shortcuts - dos shortcut keys - keyboard shortcut command prompt - keyboard prompts - key command dos prompt - prompt accelerator - repeat comand from command prompt - shortcut dos keys - windows 2003 hotkey commands -