|
| |
|
K
E
Y |
Common Commands |
INTERNAL |
External |
/SWITCH |
Parameter |
Help text |
AddonTool |
|
Mounted Commands |
.Mount/\Command |
CmdShorthand |
#Constant |
$FUNCTION |
:Procedure |
!GuardNote |
|
Operating Systems |
NT/2K/XP/K3 |
NT Only |
NT/2K |
2K Only |
2K/XP |
XP Only |
XP/K3 |
K3 Only |
2K/XP/K3 |
Related Resources from the NT/2K/XP/K3 Command Library
|
Resource |
|
Short Description |
|
.ErrEcho |
|
ECHOs output to STDERR instead of STDOUT. |
|
.DateEcho |
|
ECHOs "[DATE] Text" to STDOUT. (DATE like DATE /T) |
|
.TimeEcho |
|
ECHOs "[TIME] Text" to STDOUT. (TIME hh:mn:ss) |
|
.dErrEcho |
|
ECHOs "[DATE] Text" to STDERR. (DATE like DATE /T) |
|
.tErrEcho |
|
ECHOs "[TIME] Error Message Text" to STDERR. (TIME hh:mn:ss) |
|
.dtEcho |
|
ECHOs "[DATE @ TIME] Text" to STDOUT. (DATE like DATE
/T, TIME hh:mn:ss) |
|
.dtErrEcho |
|
ECHOs "[DATE @ TIME] Text" to STDERR. (DATE like DATE
/T, TIME hh:mn:ss) |
|
.ElEcho |
|
ECHOs "[Errorlevel=n]" to STDOUT, followed by optional [Text] |
|
.ElErrEcho |
|
ECHOs "[Errorlevel=n]" to STDERR, followed by optional [Error Message Text] |
|
.BlankLine |
|
ECHOs one blank line |
|
.DoubleSpace |
|
ECHOs two blank lines |
|
.ColonLine |
|
ECHOs a line of 77 : characters |
|
.DashLine |
|
ECHOs a line of 77 - characters |
|
.DotLine |
|
ECHOs a line of 77 . characters |
|
.StarLine |
|
ECHOs a line of 77 * characters |
|
.UnderLine |
|
ECHOs a line of 77 _ (underscore) characters |
Go straight to !GuardNotes. (updated
2004-07-13)
This is the Mounted Help Text. We also archive the Common Help Text
for NT,
2K, XP
and K3
Description
Displays messages, or turns command-echoing on or off.
Syntax
|
ECHO |
|
[ON | OFF] |
|
ECHO |
|
[message] |
Parameters and Switches
|
ON |
|
Turns echoing on (display of individual
lines can still be suppressed by prefixing with @) |
|
OFF |
|
Turns echoing off |
|
message |
|
Message to display. Must be quoted
if it contains any CommandSymbols.
The ""'s will also be displayed. |
Examples, Notes and Instructions
Type ECHO without parameters to display the current echo setting.
GuardNotes
Things that are different (by design, by accident or otherwise)
Problems with unwanted messages
ECHO will display the message "Echo is ON" or "Echo is OFF" when invoked without parameters.
ECHO is commonly followed immediately by another character (other than a <space>) in order to avoid these messages. To be
safe, we always use ECHO followed by a colon ":" (i.e., "ECHO:
message") which, in our view, provides the best readability. For echoing completely blank lines, we strongly recommend using
.BlankLine and
.DoubleSpace
since they are self documenting.
|