oem.hlp (Table of Contents; Topic list)
DOSKEY
Notes  Examples
────────────────────────────────────────────────────────────────────────────
 
                                   DOSKEY
 
Loads the Doskey program into memory. The Doskey program recalls MS-DOS
commands and enables you to edit command lines and create and run macros.
 
Doskey is a memory-resident program. When installed, Doskey occupies about 3
kilobytes of resident memory.
 
Syntax
 
    DOSKEY [/REINSTALL] [/BUFSIZE=size] [/MACROS]
    [/HISTORY][/INSERT|/OVERSTRIKE] [macroname=[text]]
 
To start the Doskey program and use the default settings, use the following
syntax:
 
    DOSKEY
 
Parameter
 
macroname=[text]
    Creates a macro that carries out one or more MS-DOS commands (a Doskey
    macro). Macroname specifies the name you want to assign to the macro.
    Text specifies the commands you want to record.
 
Switches
 
/REINSTALL
    Installs a new copy of the Doskey program, even if one is already
    installed. In the latter case, the /REINSTALL switch also clears the
    buffer.
 
/BUFSIZE=size
    Specifies the size of the buffer in which Doskey stores commands and
    Doskey macros. The default size is 512 bytes. The minimum buffer size is
    256 bytes.
 
/MACROS
    Displays a list of all Doskey macros. You can use a redirection symbol
    (>) with the /MACROS switch to redirect the list to a file. You can
    abbreviate the /MACROS switch as /M.
 
/HISTORY
    Displays a list of all commands stored in memory. You can use a
    redirection symbol (>) with the /HISTORY switch to redirect the list to
    a file. You can abbreviate the /HISTORY switch as /H.
 
/INSERT|/OVERSTRIKE
    Specifies whether new text you type is to replace old text. If you use
    the /INSERT switch, new text that you type on a line is inserted into
    old text (as if you had pressed the INSERT key). If you use the
    /OVERSTRIKE switch, new text replaces old text. The default setting is
    /OVERSTRIKE.
 
                                      ♦