mirror of
https://github.com/Raphire/Win11Debloat.git
synced 2026-06-11 02:56:32 +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="
|
set "wtPath="
|
||||||
)
|
)
|
||||||
|
|
||||||
:: Resolve short (8.3) path for the script to avoid quoting issues with spaces
|
set "SCRIPT_SHORT_PATH=\"%~dp0Win11Debloat.ps1\""
|
||||||
for %%I in ("%~dp0Win11Debloat.ps1") do set "SCRIPT_SHORT_PATH=%%~fsI"
|
|
||||||
|
|
||||||
:: Launch script
|
:: Launch script
|
||||||
if defined wtPath (
|
if defined wtPath (
|
||||||
|
|||||||
Reference in New Issue
Block a user