Merge pull request #88 from szczepix/patch-1

When path contains spaces
This commit is contained in:
John Gross
2017-08-31 18:01:00 -04:00
committed by GitHub

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 /J 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