taskill是关闭1.exe运行产生的进程,自行修改为进程名 @echo off start c:\1.exe ping 127.1 /n 6 >nul taskkill /f /im 1.exe ping 127.1 /n 11 >nul start c:\1.exe pause