Compartilhar via


Migrating Environment Variable Settings to Windows CE 5.0

Environment variable settings from earlier versions of Windows CE do not automatically migrate to Windows CE 5.0. Instead, you must manually enter the settings in Windows CE 5.0.

For information about valid environment variables in Windows CE 5.0, see Environment Variables.

To migrate environment variable settings

  1. From the Platform menu, choose Settings.
  2. On the Build Options tab, select the environment variables that are listed in MyMigration_<ConfigurationName>.txt.
  3. On the Environment tab, enter each additional environment variable listed in MyMigration_<ConfigurationName>.txt as follows:
    1. Choose New.

    2. In the Variable name box, type the name of the environment variable.

      You can use spaces in an environment variable name, but doing so can cause confusion because spaces are considered significant characters.

      For example, Platform Builder considers an environment variable with two consecutive spaces in its name to be a different environment variable than an environment variable with the same name and one space in its name.

    3. In the Variable value box, type the appropriate value.

      You can use spaces in the value of an environment variable because the value is treated as a string. A leading or trailing space in a value can cause confusion.

    4. Add the environment variable to the environment variables list by choosing OK.

  4. Save your changes by choosing OK.

See Also

How to Migrate a Windows CE .NET 4.2 OS Design to Windows CE 5.0 | Setting or Clearing an Environment Variable | Platform Settings: Build Options Tab

Last updated on Thursday, February 02, 2006

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.