0

I'm trying to make a batch file that types "quit" in two console windows. These console windows are hosting a game server each and I want them to shutdown when I use the said batch file.

I tried making a batch file terminating the server-console process but that might damage my server logs and such.

Is there a way for a batch script to type something into two separate cmd-windows and then simulating an 'enter'-push?

Jonathan
  • 685
  • 1
  • 10
  • 30

0 Answers0