diff --git a/pathfixer.ps1 b/pathfixer.ps1 index fee507c..d0224be 100644 --- a/pathfixer.ps1 +++ b/pathfixer.ps1 @@ -1,3 +1,7 @@ +Write-Warning "===== Writing a backup of your path to path_backup.txt in case this goes wrong." + +Out-File -FilePath .\path_backup.txt -InputObject $env:PATH + Write-Host "======= winlibs configuration =====" $winlibsPath = $ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath("$env:APPDATA\..\Local\Programs\WinLibs")