Trying to figure out a way to run a windows batch script to gracefully shut down a dedicated server running on Windows 10. The best I've found is running 'taskkill /im 7DaysToDieServer.exe'
That seems to kick off the process, but the Server Console pops up with a "Really shut down..." pop up and waits for you to click Yes.
I know I could throw a /f in the taskkill command to force the shutdown, but I'm worried about corrupting something in the server world if I do that.
Any thoughts?