I coded a website where my friends can start and close their Minecraft server over PHP. To stop their server, a .bat file kills the process, but normally Minecraft servers will be stopped with the "Stop" command. The Minecraft server is running in a CMD and so my question is:
Is it possible to send a command from a started .bat to a separate, already open CMD so that the already open CMD stop the Server?