Trying to set and environment variable in Windows 7? Here’s where to set environment variables in windows 7:
- Click the Start menu button (Windows key)
- Right click Computer
- Click Properties
- Click on the Advanced tab
- Click Set environment variables
- Select New
- This is where you set the environment variable you want to set
- Click OK
You can also set Windows 7 environment variable in dos with the set command. For example, to set an environment variable in dos using the set command:
- Open a dos / command prompt window (Start -> type cmd -> Enter)
- Type set VariableName=Value
For example, to set an environment variable called where with a value of here, type:
set where=here