Partager via


Bibhelper Script (Windows Embedded CE 6.0)

1/5/2010

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 inMODULES Section and FILES Section.

Remarks

Preromimage.bat resides in %_FLATRELEASEDIR% and executes 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 (.cfg) file.

    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, and removes the compression attribute from that file.

    Filename3.dll =HSC

    Completely changes a file's attributes.

See Also

Concepts

Binary Image Builder File
Run-Time Image Files
Make Binary Image Tool

Other Resources

How to Configure and Build a Run-Time Image for a CEPC