|
DOSKEY
Edits command lines, recalls Windows NT commands, and
creates macros.
Type in DOSKEY at the prompt, the DOSKEY program is now
loaded. DOSKEY keeps a history of all the commands you type
in each session so you can reuse them without typing them in
over and over again. You may view your history by hitting
the Up-arrow on your keypad. DOSKEY is active in NT by
default, but not in WIN2K.
Examples
To create a batch program named Tmp.bat that contains
recently used commands, type:
doskey /history > tmp.bat
To create a macro that performs a quick and unconditional
format of a disk, type:
doskey qf=format $1 /q /u
Batch File Commands
|