WAD Variable _LOGFILE Not Working

Jun 2, 2008
Newton, MA
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.
WAD - %_LOGFILE returns the name of the command log, not the history log. You should be using %_HLOGFILE.

Thank you! It might be good to cross-reference the variables in the help for the LOG command.

Similar threads