I need to shutdown a program (minecraft server). I think taskkill
will do the job
@echo on
TASKKILL /F /IM Minecraft server /T
echo killed!
I asked questions before of how to auto type "stop" in the console of the server, but they didn't work. I don't want to download any extra programs. Just batch, VBScript, or Java. I would prefer batch though.
Hope I made some sense anyway thanks!