Fix Run.bat script path resolution

This commit is contained in:
Jeffrey
2026-06-06 20:27:13 +02:00
parent bfd06d953d
commit 1f73741da8

View File

@@ -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 (