Files
DayZScripts/DayZServerStart/killServer.bat

7 lines
184 B
Batchfile

@echo off
wmic process where name="wmic.exe" get ParentProcessId|(
for /f %%a in ('findstr [0-9]')do taskkill /f /t /fi "pid ne %%a" /im cmd.exe
)
taskkill /im DayZServer_x64.exe /f