@echo off ping 127.0.0.1 -n 5 > nul start D:\TestOnly\TestOnly\bin\Debug\TestOnly.exe 保存文件后缀为.bat 执行ping指令5分钟后启动程序 相关文章: