Setting or Clearing a Sysgen Variable (Windows CE 5.0)

After you create a workspace or open an existing workspace, you can choose to configure the functionality in your OS design from a command-line prompt build window by setting or clearing Sysgen variables.

For information about configuring this functionality in the IDE, see Adding Catalog Items to an OS Design and Removing a Catalog Item from an OS Design.

Each item in the Catalog corresponds to a Sysgen variable, and sometimes to more than one Sysgen variable. To add a selected item to your OS design, you set a Sysgen variable, while to remove the item, you clear the corresponding Sysgen variable. Also, during the build process, Platform Builder might further configure the functionality included in your OS design by bringing in other items that are required for items in your OS design to function.

This is because the Sysgen variable associated with the Catalog item might depend on other Sysgen variables in order to function, which is a relationship called a dependency. Many dependencies are typically contained in Cesysgen.bat. For more information, see Cesysgen Batch File.

For more information about dependencies, see Catalog Item Dependencies.

For information about Sysgen variables that you can set, see Sysgen Variables.

To set a Sysgen variable

  • In a command prompt build window or a batch file, type the following command:
    set <sysgen variable>=1

To clear a Sysgen variable

  • In a command prompt build window or a batch file, type the following command:

    Note   Ensure that you do not enter a character or space after the equal sign.

    set <sysgen variable>=

See Also

Build System | Run-Time Image Build Process | Windows CE Features

Last updated on Thursday, February 02, 2006

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.