diff --git a/windows11.bat b/windows11.bat index b250e97..72bcec9 100644 --- a/windows11.bat +++ b/windows11.bat @@ -359,7 +359,7 @@ TIMEOUT 5 TASKKILL /im firefox.exe /F ECHO Firefox configuration... -FOR /F %%i IN ('dir /B /S ^"%APPDATA%\Mozilla\Firefox\Profiles\*.default-release^"') DO SET "vbc=%%i" +FOR /F "usebackq delims=" %%i IN (`dir /B /S "%APPDATA%\Mozilla\Firefox\Profiles\*.default-release"`) DO SET "vbc=%%i" PowerShell -Command "Invoke-WebRequest -Uri !repo!/.mozilla/firefox/user.js -OutFile '!vbc!\user.js'" :: Download addons settings in "Download" folder