tasklist /fi "imagename eq nginx.exe" 该命令是查看所有nginx.exe 进程
tasklist /fi "imagename eq nginx.exe"
taskkill /fi "imagename eq nginx.exe" /f 该命令作用是结束这些进程
taskkill /fi "imagename eq nginx.exe" /f
百度经验 https://jingyan.baidu.com/article/3f16e0038063d06590c1031c.html