Skip to content

Commit 9b27fc6

Browse files
author
Szczepan Zaskalski
authored
When path contains spaces
1 parent 5cdeea9 commit 9b27fc6

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎Setup (run before opening solution).bat‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
@echo off
44
set /p path="Please enter the folder location of your SpaceEngineersDedicated.exe: "
55
cd %~dp0
6-
mklink /J GameBinaries %path%
6+
mklink /J GameBinaries "%path%"
77
if errorlevel 1 goto Error
88
echo Done!
99
goto End
@@ -14,11 +14,11 @@ goto EndFinal
1414

1515
set /p path="Please enter the folder location of your Torch.Server.exe: "
1616
cd %~dp0
17-
mklink /J TorchBinaries %path%
17+
mklink /J TorchBinaries "%path%"
1818
if errorlevel 1 goto Error
1919
echo Done! You can now open the Torch solution without issue.
2020
goto EndFinal
2121
:Error2
2222
echo An error occured creating the symlink.
2323
:EndFinal
24-
pause
24+
pause

0 commit comments

Comments
 (0)