- Dim $F = FileOpen(@TempDir & "\RUN.bat", 2)
- FileWriteLine($F, "@echo off")
- FileWriteLine($F, "start .\binaries\gauntlet.exe -bundle-dir contents -ini settings")
- FileWriteLine($F, "exit")
- FileClose($F)
- RunWait(@ComSpec & " /c call " & '"' & @TempDir & "\RUN.bat" & '"', "", 0)
- FileDelete(@TempDir & "\RUN.bat")
- Exit