HW_CONFIG_PATH

Specifies the path to search for certain configuration files.

Syntax

HW_CONFIG_PATH directory1;directory2;etc...

Type

HyperWorks Desktop Environment Variable

Description

Specifies the path to search for certain configuration files. These configuration files can be stored in a global or central location for convenience or in order to keep the default installed copy unedited. In addition, this prevents them from being overwritten when a new HyperWorks version or update is installed.

On a PC, when the application starts, it first reads the preference/config file in the installation directory, and then it reads the preference/config environment variable (HW_CONFIG_PATH). It also reads the hmmenu.set and hmcustom.tcl from the USER HOME (C:\Users\<USERNAME>). On Unix, the program first reads the preference/config file in the user’s home directory, then the current working directory. Finally, on both PC and Unix, the program looks for the user-defined preference/config file.

These files are:
Table 1.
hm.cfg file fatigue.cfg file
userpage.mac file feconfig.cfg file
hmmenu.set file hyperlaminate.cfg file
hmcustom.tcl file Any printer settings (which may also exist in hm.cfg
preferences.mvw file  
directory
The path to the directory to search. Multiple paths can be specified, separated by a semi-colon. The first path encountered that contains the file will be used.

Examples

To set the directory E:\mydir: HW_CONFIG_PATH E:\mydir.

To set the directory to E:\mydir and C:\mysettings: HW_CONFIG_PATH E:\mydir;C:\mysettings.

Errors

None.