|
| |
.LogDateEcho/.ldErrEcho
Description
- Displays the current LogDate followed by an optional message.
- .LogDateEcho echoes "yyyymmdd Text" to STDOUT. Date is always
yyyymmdd, regardless of the local date format. Text is optional.
- .ldErrEcho does the same, but echoes to STDERR.
Syntax
|
%.LogDateEcho% |
|
[Text] |
|
%.ldErrEcho% |
|
[Text] |
Parameters and Switches
|
Text |
|
optional message to display |
Errorlevels and Output Variables
Examples, Notes and Instructions
NT
2K
XP
K3 |
C:\GuardPost>%.LogDateEcho%
%computername% completed update
20030101 Workstation1 completed update
C:\GuardPost>%.LogDateEcho%
20030101
C:\GuardPost> |
- LogDate will always be eight digits (yyyymmdd), regardless of the
local date format.
- Leading zeroes will be added to months and days less than 10 to maintain
a CONSISTENT output.
- [Text] longer than 70 characters may wrap in an 80-column console window.
- Variables within [Text] will be expanded (like "CALL ECHO").
- For local date format, see, the ".DateEcho" command.
Related .Mount/\Commands, #Constants,
$Functions, :Procedures
|
Resource |
|
Short Description |
| |
|
|
|
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 |
|