taskkill /f /t /im processName

/*@echo off */
taskkill /f /t /im WINWORD.exe
taskkill /f /t /im nginx.exe
taskkill /f /t /im w3wp.exe
taskkill /f /t /im 沃特负载均衡.exe
/*pause*/

原文地址:https://www.cnblogs.com/ruiy/p/7211067.html