diff --git a/Run.bat b/Run.bat index e47d63e..2832c51 100644 --- a/Run.bat +++ b/Run.bat @@ -19,8 +19,7 @@ if exist "%wtDefaultPath%" ( set "wtPath=" ) -:: Resolve short (8.3) path for the script to avoid quoting issues with spaces -for %%I in ("%~dp0Win11Debloat.ps1") do set "SCRIPT_SHORT_PATH=%%~fsI" +set "SCRIPT_SHORT_PATH=\"%~dp0Win11Debloat.ps1\"" :: Launch script if defined wtPath (