Create logtime.txt and add the date, time and a message.
Syntax LOGTIME text_string Key text_string : The message to add to the log file.
The date is stored in the US mm/dd/yy format.
Sample batch file:
LOGTIME "begin import program"
LOGTIME "end import program"
An alternative command is
ECHO. | DATE | FIND /i "curre">>C:\Install_log.txt
“You can always tell that an organisation is on the skids when it changes it's name, and pays a lot of money for consultants to invent some ghastly new corporate identity” ~ Baroness Helena Kennedy
ECHO - Display message on screen
DATE /T - Display or set the date
TOUCH - Change file timestamps
Timethis - Time how long it takes the system to run a command. (Win 2K ResKit)
Uptime - Time since last reboot. (Win 2K ResKit)