Here’s an easy and quick way to add a string to your Path environemnt variable:
[Environment]::SetEnvironmentVariable("Path", $env:Path + ";C:\SomethingYouLike", [EnvironmentVariableTarget]::Machine)
And…you’re done! ;)
No comments:
Post a Comment