DBPATH

Defines the paths to search for program resource files.

Usage

Use FGLRESOURCEPATH instead of DBPATH to define resource directories.

When FGLRESOURCEPATH is not defined, DBPATH environment variable is used to define the search paths for:

  1. Form files loaded (.42f),
  2. Message files (.iem),
  3. Action defaults files (.4ad),
  4. Presentation styles files (.4st),
  5. Start menu files (.4sm),
  6. Toolbar files (.4tb),
  7. Topmenu files (.4tm),
  8. Compiled localized strings files (.42s).

By the default, the runtime system looks for resource files is the current directory.

DBPATH must contain a list of paths, separated by the operating system specific path separator.

The path separator is platform specific ( ":" on UNIX™ platforms and ";" on Windows™ platforms).

If FGLRESOURCEPATH is defined, DBPATH is ignored by the runtime system and FGLRESOURCEPATH is used instead.

UNIX example:
DBPATH="/user/forms1:/user/forms2:/usr/strings/french"
export DBPATH

Windows example:

set DBPATH=C:\user\forms1;C:\user\forms2;C:\usr\strings\french