HW_COMMANDFILE_MODE

Sets the mode to write the command file.

Syntax

HW_COMMANDFILE_MODE mode

Type

Framework Environment Variable

Description

Sets the mode to write the command file.
mode
APPEND
Any existing command file is appended to. If one does not exist, a new one is created. This is the default/legacy behavior.
OVERWRITE
Any existing command file is overwritten instead of appended to. The overwrite only happens at the start of the session, not for each command.
UNIQUE
A new command file is generated with the name hw_command_<timestamp>_<username>.hwc. <timestamp> is of the format MM-DD-YYYY_HH-MM-SS, and HH is in 24-hour time for uniqueness to be guaranteed. <username> is the system user name, or UnknownUser if the user name cannot be determined. For example, hw_command_03-23-2024_10-34-15_myname.hwc. This mode means every session will have its own local command file.

Examples

To set the mode to UNIQUE: HW_COMMANDFILE_MODE UNIQUE.

Errors

None.