Create logtime.txt and adds the date, time and a message.
LOGTIME "Text"
none.
ECHO - Display message on screen.
DATE
/T - Display or set the date.
TOUCH - Change file timestamps.
Equivalent Linux BASH commands:
echo - Display message on screen.
select - Accept keyboard input.
The date is stored in the US mm/dd/yy format.
LOGTIME "begin import program" import.exe LOGTIME "end import program"
An alternative command is:
ECHO. | DATE | FIND /I "current">>C:\Install_log.txt
none.