From cfe7880d7035921ebe3af64a58669937ca799cfb Mon Sep 17 00:00:00 2001 From: BannZay Date: Wed, 12 Oct 2022 10:51:34 +0100 Subject: [PATCH] add quotes around pathes so white spaces in the path wont break the script --- other/config_directory.bat | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/other/config_directory.bat b/other/config_directory.bat index 9d9d02e0a..f1fe02c6d 100644 --- a/other/config_directory.bat +++ b/other/config_directory.bat @@ -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\" )