When path contains spaces

This commit is contained in:
Szczepan Zaskalski
2017-08-26 00:05:59 +02:00
parent 2bef34ee5b
commit 7937cbd122

View File

@@ -3,11 +3,11 @@
@echo off @echo off
set /p path="Please enter the folder location of your SpaceEngineersDedicated.exe: " set /p path="Please enter the folder location of your SpaceEngineersDedicated.exe: "
cd %~dp0 cd %~dp0
mklink /D GameBinaries %path% mklink /D GameBinaries "%path%"
if errorlevel 1 goto Error if errorlevel 1 goto Error
echo Done! You can now open the Torch solution without issue. echo Done! You can now open the Torch solution without issue.
goto End goto End
:Error :Error
echo An error occured creating the symlink. echo An error occured creating the symlink.
:End :End
pause pause