Windows 7 / Getting Started

Setting Default Environment Variables

To define environment variables permanently so that they are defined whenever you log on, click Start, right-click My Computer, and select Properties. Next, view the Advanced tab and click Environment Variables.Windows displays the dialog box.

The top part of the dialog box lets you define the default variables for your account. You can click New to add a new variable, or you can click Edit or Delete to modify an existing entry.

The lower part of the dialog box edits the default variables provided to all user accounts.These settings can only be edited by an Administrator account, and the settings can be overridden by user-specific entries.

Note: You can also modify the default environment variables with WSH scripts by modifying the Environment("system") and Environment("user") collections.

[Previous] [Contents] [Next]