Jay Sage Jun 762 16 2014-11-21 #1 The variable _LOGFILE is not returning the name of the log file: TCC(17.00.55): C:\tcmd>log /h /w c:\tcmd\cmd_log.txt TCC(17.00.55): C:\tcmd>echo Log file: %_logfile Log file:In fact, commands are being logged to the specified file.
The variable _LOGFILE is not returning the name of the log file: TCC(17.00.55): C:\tcmd>log /h /w c:\tcmd\cmd_log.txt TCC(17.00.55): C:\tcmd>echo Log file: %_logfile Log file:In fact, commands are being logged to the specified file.
rconn Administrator May 13,695 257 Staff member 2014-11-21 #2 WAD - %_LOGFILE returns the name of the command log, not the history log. You should be using %_HLOGFILE.
WAD - %_LOGFILE returns the name of the command log, not the history log. You should be using %_HLOGFILE.
Jay Sage Jun 762 16 2014-11-21 #3 rconn said: WAD - %_LOGFILE returns the name of the command log, not the history log. You should be using %_HLOGFILE. Click to expand... Thank you! It might be good to cross-reference the variables in the help for the LOG command.
rconn said: WAD - %_LOGFILE returns the name of the command log, not the history log. You should be using %_HLOGFILE. Click to expand... Thank you! It might be good to cross-reference the variables in the help for the LOG command.