Share via


Bibhelper Script

With the Bibhelper.vbs script, you can make changes to file attributes for a module in the Ce.bib file after the Ce.bib file has been compiled. For more information about Ce.bib, see Binary Image Builder File.

The script uses the following syntax.

[Module Name] [+ - =][flag]

Parameters

  • flag
    You can use this to set any of the module's attributes. For more information, see the type parameter in**MODULES Section and FILES Section.

Remarks

Preromimage.bat resides in %_FLATRELEASEDIR% and is automatically executed during the build process. The following procedure shows how to use the Bibhelper.vbs script.

To use the Bibhelper.vbs script

  1. In Preromimage.bat, add the following commands:

    copy %_FLATRELEASEDIR%\ce.bib %_FLATRELEASEDIR%\ce_orig.bib
    cscript %_MAKEENVROOT%\bibhelper.vbs %_FLATRELEASEDIR%\sa11x0bd_bib.cfg %_FLATRELEASEDIR%\ce_orig.bib %_FLATRELEASEDIR%\ce.bib
    
  2. In %_FLATRELEASEDIR%, add a configuration file (.cfg)

    The following table shows various sample entries for a .cfg file.

    Entry Description
    Filename1.dll +C Adds the compression attribute to a file.
    Filename2.exe +H +S -C Adds the hidden and system attributes to a file, while removing the compression attribute from that file.
    Filename3.dll =HSC Completely changes a file's attributes.

See Also

Binary Image Builder File | Windows CE ROM Image Data Formats | How to Configure and Build an OS Image for a CEPC | Make Binary Image Tool

 Last updated on Friday, October 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.