Rules of precedence for Windows environment variables

When HCL OneDB™ products access an environment variable, normally the following rules of precedence apply:
  1. The setting in Setnet32 with the Use my settings box selected.
  2. The setting in Setnet32 with the Use my settings box cleared.
  3. The setting on the command line before running the application.
  4. The setting in Windows™ as a user variable.
  5. The setting in Windows as a system variable.
  6. The lowest precedence goes to the default value.

An application examines the first five values as it starts. Unless otherwise stated, changing an environment variable after the application is running does not have any effect.