----^--->
/\

//\\
//The\
/Sy
stem\
////
Guard
\

In the mount of the LORD it shall be seen. Genesis 22:14

LogTimeEcho

Booming Or Fuming? | MasterCatalog | ntlib (FREE) | NTCmdLib | MtCmds | Scripts | Almost Free | TheGuardBook | Help

 

Types of
.Mount/\Commands

.CrystalClear | .ExactName | .ExitELn | .GetValue | .ifCondition | .ifELn | .IsPattern | .ListValue | .NetValue | .NowValue | .RedirRapids | .ReliableReporting | .RestoreValue | .SetELn | .ValueEcho

ValueEcho
Series

  DateEcho | dtEcho | ElEcho | ErrEcho | ldtEcho | LogDateEcho | LogTimeEcho | TimeEcho

.LogTimeEcho/.ltErrEcho

Description

  1. Displays the current LogTime followed by an optional message.
  2. .LogTimeEcho echoes "hhmnss Text" to STDOUT.  Time is always hhmnss, regardless of the local time format.  Text is optional.
  3. .ltErrEcho does the same, but echoes to STDERR.

Syntax

%.LogTimeEcho%   [Text]
%.ltErrEcho%   [Text]

Parameters and Switches

Text

  optional message to display

Errorlevels and Output Variables

none

   

Examples, Notes and Instructions

NT
2K
XP
K3
C:\GuardPost>%.LogTimeEcho% %computername% completed update
070530 Workstation1 completed update

C:\GuardPost>
%.LogTimeEcho%
070530

C:\GuardPost>
  • LogTime will always be six digits (hhmnss), regardless of the
    local date format.
  • Leading zeroes will be added to hours less than 10 to maintain a CONSISTENT output.
  • [Text] longer than 72 characters may wrap in an 80-column console window.
  • Variables within [Text] will be expanded (like "CALL ECHO").
  • For local time format, see, the ".TimeEcho" 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

ValueEcho
Series

  DateEcho | dtEcho | ElEcho | ErrEcho | ldtEcho | LogDateEcho | LogTimeEcho | TimeEcho
/\
//\\
//
The\
/Sy
stem\
////
Guard
\
COME ON UP WITH US!
and
Congratulations On Your Decision
to
RISE ABOVE
THE REST!

^
/
!\
/LIB\

TheSystemGuard.com [Revised: 2007-03-29]
Copyright © 1995-2007, JWC
Computer Communications,
All Rights Reserved, Worldwide.
 Disclaimer       Privacy       About Us       More


Communication Is Business!

We Master It With Knowledge!

^
/
.\
/M^C\