3.2 Locating the Initialization File

omake locates the initialization file in the following manner:

  1. If the -b file command-line option is used, omake uses file.

  2. If the OMAKECFG environment variable exists, omake uses its value.

  3. Otherwise, omake searches for make.ini in the following locations:

    1. The current directory

    2. The directory of the omake.exe file

    3. Directories specified in the INIT environment variable

Here, we assume the initialization file is named make.ini.

When the initialization file is found, omake searches its directory for its ancillary files (omhelp.* and builtins.*).

Disabling the Initialization File

omake does not look for the initialization file if you use the command-line option -b"<SPACE>" or if you set the OMAKECFG environment variable to the empty string. To set the environment variable:

set OMAKECFG=<SPACE><ENTER>