Create logtime.txt and adds 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 (NT 4.0)
Sample batch file:
LOGTIME "begin import program"
import.exe
LOGTIME "end import program"
An alternative command is
ECHO. | DATE | FIND /i "current">>C:\Install_log.txt