Usage
DOSKey allows the use of several command switches:
DOSKEY ]
/REINSTALL | Installs a new copy of DOSKey. |
---|---|
/LISTSIZE= | Sets size of command history buffer to size. |
/MACROS | Displays all DOSKey macros. |
|
Displays all DOSKey macros for all executables which have DOSKey macros. |
|
Displays all DOSKey macros for the given executable. |
/HISTORY | Displays all commands stored in memory. |
/INSERT | Specifies that new text you type is inserted in old text. |
/OVERSTRIKE | Specifies that new text overwrites old text. |
/EXENAME=exename | Specifies the executable. |
/MACROFILE=filename | Specifies a file of macros to install. |
Specifies a name for a macro you create. | |
Specifies commands you want to record. |
During a DOSKey session, the following keyboard shortcuts can be used:
Up and Down | Recall commands |
---|---|
Esc | Clears command line |
Ctrl-Home | Clears command line from the cursor to the beginning of the line. |
Ctrl-End | Clears command line from the cursor to the end of the line. |
F7 | Displays command history |
Alt-F7 | Clears command history |
F8 | Searches command history |
F9 | Selects a command by number |
Alt-F10 | Clears macro definitions |
DOSKey implements support for command macros, a simple text-substitution facility which is used somewhat like command line aliases in other environments.
$T | Command separator. Allows multiple commands in a macro. |
---|---|
$1–$9 | Batch parameters. Equivalent to %1-%9 in batch programs. |
$* | Symbol replaced by everything following the macro name on command line. |
Read more about this topic: DOSKey
Famous quotes containing the word usage:
“Pythagoras, Locke, Socratesbut pages
Might be filled up, as vainly as before,
With the sad usage of all sorts of sages,
Who in his life-time, each was deemed a bore!
The loftiest minds outrun their tardy ages.”
—George Gordon Noel Byron (17881824)
“...Often the accurate answer to a usage question begins, It depends. And what it depends on most often is where you are, who you are, who your listeners or readers are, and what your purpose in speaking or writing is.”
—Kenneth G. Wilson (b. 1923)
“I am using it [the word perceive] here in such a way that to say of an object that it is perceived does not entail saying that it exists in any sense at all. And this is a perfectly correct and familiar usage of the word.”
—A.J. (Alfred Jules)