LOGTIME.exe – Windows CMD Command
Notice: A non well formed numeric value encountered in /home/future4tech/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 118
Notice: A non well formed numeric value encountered in /home/future4tech/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 119
Notice: A non well formed numeric value encountered in /home/future4tech/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 118
Notice: A non well formed numeric value encountered in /home/future4tech/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 119
Create logtime.txt and add the date, time and a message.
1 2 3 4 5 |
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.
1 2 3 4 5 6 7 8 |
Sample batch file: LOGTIME "begin import program" import.exe LOGTIME "end import program" An alternative command is ECHO: | DATE | FIND /i "curre">>C:\Install_log.txt |