Share via


Creating a Command Prompt Build Window

Once you have created a platform, you can create a command prompt build window to help you build your platform.

To create a command prompt build window

  1. Choose the Start button, choose All Programs, choose Accessories, and then choose Command Prompt.

  2. At the command prompt, type the following text string.

    set _WINCEROOT=<DRIVE:\>Wince420
    
  3. Navigate to %_WINCEROOT%\Public\Common\Oak\Misc.

  4. Run Wince.bat.

    The following code example shows how to use Wince.bat to set up the environment variables for a specific configuration. In this example, Wince.bat is setting up the variables for a platform named MyProj, which is targeted for the x86 processor, and for the CEPC platform.

    Wince.bat x86 MyProj CEPC
    

    For more information about Wince.bat, see Windows CE Build Environment Tool.

  5. Set additional environment variables as needed.

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

You can now run Blddemo.bat to build your modules and features, compile your source code, copy your files into the directory specified by the _FLATRELEASEDIR environment variable, and make your OS image. For information about Blddemo.bat, see Build Demo Tool.

See Also

Building a Platform Using the Build Demo Tool | Platform Building | Miscellaneous Environment Variables | Set Environment Variable Tool

 Last updated on Friday, October 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.