DOSKEY enhances command line editing, recalls DOS commands, and creates macros. The format of the DOSKEY command is:
doskey [/reinstall] [/bufsize=size] [/macros] [/history] [/insert | /overstrike] [macroname=[text]]
where:
DOSKEY stacks and recalls commands from a LIFO buffer using the up and down cursor keys. The command line can be intuitively edited via left and right cursor keys, with insert and non-destructive backspace. DOSKEY provides similar command line editing to that of an OS/2 prompt with KEYS=ON specified.