Command Files

The HWC log file contains a record of the HWC Console activity. It can be turned on/off using the Log to File context menu option in the HWC Console.

HWC Command File Location

The default filename for the HWC log file is hw_command.hwc. This file is saved by default to your working directory if you select the Log to File option. Use the environment variable HW_COMMANDFILE_DIR to change the default save location.

Use the following options to change the environment variable HW_COMMANDFILE_MODE:
Append
Any existing command file is appended (default).
Overwrite
Any existing command file is overwritten instead of appended.
Unique
A new command file is generated with the name hw_command_<timestamp>_<username>.hwc.


Figure 1. HWC Command Files with HW_COMMANDFILE_MODE=unique