Start/Stop program from php on windows
<p>I running a minecraft server on a windows machine.
Now I want to run multiple other servers too on the same machine. (not minecraft)</p>

<p>We are only few people, so they are not playing every day.</p>

<p>I want to create a small webpage with a button for each game-server, so that they can start the server for the game they want to play.
Also there should be a button for stopping a server.</p>

<p>There are multiple tutorials for start/stop windows services from php.
Also there are tutorials and tools for creating services that run batch files. Starting the game-servers seems to be no problem.</p>

<p>But, e.g. if I stop the minecraft server, I want to write a message to the chat, then call the save-world command and then call the stop command. All this have to be done in the command line window.</p>

<p>I found a tutorial for doing this in linux but how can I do this for windows?</p>

<p>Best regards,
Daniel</p>