mirror of
https://github.com/Raphire/Win11Debloat.git
synced 2026-06-10 18:46:28 +00:00
Fix Run.bat script path resolution
This commit is contained in:
3
Run.bat
3
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 (
|
||||
|
||||
Reference in New Issue
Block a user