Trying to make a batch file to open Server and Launcher at the same time

  • Server version
    2.0.1
    Game client version
    0.12.11.2.14290
    Client log file
    codepaste.sp-tarkov.com/?22e99…GU22GuazH2im34Vf8mwEW5EvJ
    Server log file
    codepaste.sp-tarkov.com/?2e5d8…FvjopNP9cBdZWsmHDfBziEwD4
    Have you read the FAQ?
    Yes
    Where did you download your game from?
    From the BSG/EFT site
    List of used mods
    No mods installed besides basic SPT-AKI.

    I am trying to create a batch file to launch Server.exe and Launcher.exe at the same time. My only issue is that they both crash when starting them through the batch file. They will launch fine when started normally but crash instantly when launched via a batch file.


    Has anyone tried to do this before? Does anyone have a solution to the issue?

  • First of all. They crash because you're launching them externally in the wrong environment.


    If you don't understand what this means, just understand you got to put the batch file in the same directory as server/launcher.exe


    You can always create a shortcut to the batchfile later.


    Contents should be as followed:


    Code: start.bat
    @echo off
    start "" "path\to\server.exe"
    timeout /t 6
    start "" "path\to\launcher.exe"
    exit

    Catching bugs :notlikethis:

  • You can reference my batch file to create yours.
    It's a bit convoluted, but here it is...

    I then create a shortcut to the batch file and pin it to the Start Menu.

    It also logs the activity in case you need to go back to it... it's simple, but it does what I need it to do.
    Log output looks like this...

  • kikirio

    Closed the thread.
  • kikirio

    Set the Label from In progress to Solved

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!