BMROOT Option

Syntax

BMROOT=pathname[, pathname]...

The BMROOT option designates the bitmap root directory, which tells the Help compiler where to find the bitmap files to include in the build.

If the bitmap files reside in the root directory of the project, you don’t need to include a BMROOT directory; use the ROOT option instead. However, if you set up your Help project so that bitmap files are not stored in the project root directory, you may want to designate one or more bitmap root directories in the BMROOT option.

Parameter

pathname

Specifies a drive and full path to each bitmap directory or to a path relative to the project directory. If you give more than one path for this option, use a comma (,) to separate the paths. If the path is invalid, the compiler reports an error.

Comments

If the Help project file has a BMROOT option, you don’t need to list bitmap files in the [BITMAPS] section.

If the Help project file does not have a BMROOT option, the Help compiler looks for bitmaps in the directories specified by the ROOT option. If the Help project file doesn’t have a ROOT option, or if none of the ROOT directories contain the bitmap files, you can:

nList the bitmap filenames in the [BITMAPS] section of the Help project file.

or

nPlace all bitmap files in the same directory as the Help project file.

Example

The following entry specifies that bitmap files reside in the \HELP\BMP1 and \HELP\BMP2 directories on drive C and in the \GRAPHICS\ART directory on drive D:

[OPTIONS]
BMROOT=C:\HELP\BMP1, C:\HELP\BMP2, D:\GRAPHICS\ART

See Also

[BITMAPS] Section, [OPTIONS] Section, ROOT Option