一种是用ping来延迟,但是这种不算太精确 @echo off @ping 127.0.0.1 -n 6 >nul echo "需要做的操作" 另一种使用choice,这种相对比较好 @echo off choice /t 5 /d y /n >nul echo "需要做的操作"