cmd批处理延迟代码 结束进程

choice /t 5 /d y /n >nul  
taskkill /im chrome.exe /f
pause

 以上是延迟5秒在关闭进程

下面是立即关闭进程

taskkill /im TeamViewer.exe /f

原文地址:https://www.cnblogs.com/wulm/p/6902185.html