Answer the question
In order to leave comments, you need to log in
How to transfer a line from Bat to PHP?
Hello! I am creating a launcher for the game, I added a button (buttom) in the develnext program (this is PHP) to launch it, but I don’t know how to write the code) Before that, I connected to the server via the Bat file.
How to run the game in PHP, I know the line execute('original.exe'); I don’t know how to add the parameters of the game to the connection port and mod! Contents of my Bat file
start original.exe -connect=127.0.0.1 -port=2302
-mod=devru;Mods\Maps\Core;Mods\WeaponsArma2;Mods\Christmas\ChristmasItems;Mods\Building;
exit
I just want it all to be in the launcher and not in the bat
Answer the question
In order to leave comments, you need to log in
In the line execute('original.exe');
, instead, original.exe
enter my.bat
in which the desired content
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question