Introduction
Entering Commands
Help!
File Names
Directories
Commands A-C
Commands D-F
Commands G-L
Commands M-Z
Wildcards
Command Line Buffer
Redirecting
Piping
More Keys
Tips, Tricks & Hints
Closing
Legal Notices

Command Line Buffer

The command line buffer is part of RAM, Random Access memory, which holds the last command entered from the DOS command line. If DOSKEY is loaded it can hold more than one command.

To load DOSKEY type the following command:

LH /L:1,6384 doskey

If you wish DOSKEY to automatically be loaded when you start your computer you can enter the command into your AUTOEXEC.BAT with a straight ASCII editor. Just put it on the last blank line.

The command line buffer is different than the active command line. The active command line, also know as the command line or DOS system prompt, displays information as it is entered. When you type a command and press the enter key the command is then stored in the command line buffer.

The following is a list of function keys you can use in conjunction with DOSKEY or the command line buffer.

F1 or RIGHT ARROW KEY - Enters characters from command line buffer
one character at a time.
F2, then a character - Enters all the characters from buffer starting
at the current buffer position upto, but not
including, the first occurrence of a character.
F3 - Enters all remaining characters in the command
line buffer starting at the current cursor position.
F4, then a character - Skips over all characters in the command line buffer
upto the character, then enters that character
when you hit F1 or if F3 is pressed the remaining
portion of the command line buffer is displayed.
F7 - Displays command history.*
ALT-F7 - Clears command history.*
F8 - Searches command history.*
F9 - Selects command by line number.*
UP and DOWN ARROW - Searches through the command buffer command
by command.
*

* for use with DOSKEY