for /f %%I in ('wmic process get Name')do (wmic process where Name="%%I" delete) 复制以上代码,改文件名XXX.bat保存 效果自己看886