ImajSite Directory Builder
mkhtmset.bat

This script is invoked by the makeindx.bat build script. It builds the current directory by performing the following steps:

  1. If the file "sortorder.txt" exists in the current directory, the command "sorthtm sortorder.txt" is executed.

  2. If the file "rebuild.dir" exists in the current directory, the entire directory is rebuilt, including all slide files. Then the "rebuild.dir" file is deleted.

  3. If the environment variable "_MOD" ¹ is not equal to "0" then the Slide Builder (mkhtmsld) is invoked to build slide files that changed.

  4. If the "thumbs" subdirectory exists, the Thumbnail Builder (mkthumbs) is invoked to build thumbnails for all slides.

  5. The Index Builder (mkhtmidx) is invoked to build the index file.

  6. The directory signature is updated by invoking the "setsig" program.

Remember, you can always type "command /?" to display a usage message for any ImajSite command, including the ones listed above.

¹   The environment variable "_MOD" is set to either "1" or "0" for each directory by the System Builder. A value of "1" indicates that files in the directory have been modified, added, or deleted since the last build, and "0" indicates that no modifications were made.


Table of Contents
Copyright © 1996-2003 Christopher P. LaRosa. All Rights Reserved.