V
V
Vasily Olegovich2019-03-15 22:30:32
PHP
Vasily Olegovich, 2019-03-15 22:30:32

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

1 answer(s)
S
Satisfied IT, 2019-03-15
@TolSonGo

In the line execute('original.exe');, instead, original.exeenter my.batin which the desired content

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question