add quotes around pathes so white spaces in the path wont break the script

This commit is contained in:
BannZay 2022-10-12 10:51:34 +01:00
parent 65a3cdff02
commit cfe7880d70

View file

@ -1,5 +1,5 @@
if exist %APPDATA%\DDNet\ (
@start explorer %APPDATA%\DDNet\
if exist "%APPDATA%\DDNet\" (
@start explorer "%APPDATA%\DDNet\"
) else (
@start explorer %APPDATA%\Teeworlds\
@start explorer "%APPDATA%\Teeworlds\"
)