TCC > Variables & Functions > Variables:
Comments (...)
_HLOGFILE returns the name of the current history log file (or an empty string if LOG /H is OFF). See LOG for information on history logging.
Help URL: http://jpsoft.com/help/index.htm?_hlogfile.htm