diff --git a/DS4Windows/DS4Control/Util.cs b/DS4Windows/DS4Control/Util.cs index 6691416..0307226 100644 --- a/DS4Windows/DS4Control/Util.cs +++ b/DS4Windows/DS4Control/Util.cs @@ -202,10 +202,10 @@ namespace DS4Windows w.WriteLine("@echo off"); // Turn off echo w.WriteLine("@echo Attempting to replace updater, please wait..."); // Move temp downloaded file to destination - w.WriteLine($"@mov /Y \"{tmpUpdaterPath}\" {Global.exedirpath}\\DS4Updater.exe"); + w.WriteLine($"@mov /Y \"{tmpUpdaterPath}\" \"{Global.exedirpath}\\DS4Updater.exe\""); if (deleteUpdatesDir) { - w.WriteLine($"@del /S {Global.exedirpath}\\Update Files\\DS4Windows"); + w.WriteLine($"@del /S \"{Global.exedirpath}\\Update Files\\DS4Windows\""); } w.WriteLine("@DEL \"%~f0\""); // Attempt to delete myself without opening a time paradox. w.Close();