From 61803380bd481e5ab202637ad227018a9dea9621 Mon Sep 17 00:00:00 2001 From: "Zed A. Shaw" Date: Tue, 24 Dec 2024 08:23:31 -0500 Subject: [PATCH] Make a backup of their path just in case. --- pathfixer.ps1 | 4 ++++ 1 file changed, 4 insertions(+) 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")