2010-07-13

environment variable with PowerShell

perm env vars are grouped into User and Machine.

i have some tutorial here:

• Windows Environment Variables
http://xahlee.org/mswin/env_var.html

• Using PowerShell to Manage Environment Variables
http://xahlee.org/powershell/environment_variables.html

though, am not sure in what technical way env var under User or Machine group effect their use... am guessing some process might just look in one place for particular env var.

You should set your PATH to the Machine group, because that's where it usually is by default.

Xah
∑ http://xahlee.org/

No comments:

Post a Comment