HyperWorks Desktop

HW_CONFIG_PATH

HW_CONFIG_PATH

Previous topic Next topic No expanding text in this topic  

HW_CONFIG_PATH

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

NAME


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:

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.

 

SEE ALSO


Environment Variable Commands