windows - How do I set the global PATH environment in a batch file? - Server Fault
To set your path in the registry so that it propagates to , you can create a PowerShell script that uses some variation of this: [System.Environment]::SetEnvironmentVariable("PATH", $Env:Path + ";newpart", "user") But when I tried it just now then looked ...