Using the Set Environment Variable Tool

You can use the command-line tool Set Environment Variable Tool (Setenv.bat) to set values for optional environment variables that are used in the command prompt build window environment. For more information, see Set Environment Variable Tool.

To use Setenv.bat

  1. If it does not exist on the development workstation, create the directory %_WINCEROOT%\Developr\%USERNAME%.

  2. Copy Setenv.bat from %_WINCEROOT%\Public\Common\Oak\Misc to %_WINCEROOT%\Developr\%USERNAME%.

  3. Edit Setenv.bat by setting the appropriate values for the specific environment variables.

    By default, the following environment variables are set within Setenv.bat:

    • IMGFLASH
    • IMGNODEBUGGER
    • WINCECOD
    • WINCEDEBUG
    • WINCEMAP
    • WINCEREL
  4. Verify that the environment variables are set correctly by running set from the command prompt build window.

See Also

Creating a Command Prompt Build Window | Windows CE Build Environment Tool | Environment Variables

 Last updated on Friday, October 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.