Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

refresh env variable windows powershell

$env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User") 
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #refresh #env #variable #windows #powershell
ADD COMMENT
Topic
Name
3+3 =