Created
November 14, 2020 13:07
-
-
Save johnfredcee/182848c89ceb1a39b3e570370b9f1a3c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$scope = "Process" | |
$pathElements = @([Environment]::GetEnvironmentVariable("PATH", $scope) -split ";") | |
$pathElements += "D:\Dev\msys64\mingw64\bin" | |
$pathElements += "D:\Dev\msys64\usr\bin" | |
$newPath = $pathElements -join ";" | |
[Environment]::SetEnvironmentVariable("PATH", $newPath, $scope) | |
[System.Diagnostics.Process]::Start("D:\Apps\emacs\bin\runemacs.exe", "--debug-init"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment