Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.57 KB

File metadata and controls

32 lines (23 loc) · 1.57 KB

Environment variables -- view/edit them on windows

Find environment variables in System Properties

  • Click "Advanced System settings" (you'll need to enter Admin password or elevate) and you'll get to "System Properties"
    • Advanced tab: click "Environment Variables..." - There you have "user variables for current user" and "System variables" - Note that those in the "user variables" section also exist in the System variables -- so think carefully about which one you mean.

Set a Persistent Environment variable from Powershell

[System.Environment]::SetEnvironmentVariable('NAME_OF_VARIABLE', 'value goes here', [System.EnvironmentVariableTarget]::User)

Environment Variables Dialog

See also