@echo off
echo ============= 批处理过程 ================
echo.
SET wait=ping -n 2 0 ^>^nul
for /l %%n in (9,-1,0) do (
title 最后的话 [%%n 秒后自动关闭]
%wait%)
exit
这个时间好像不太精准哦……
看看我这个超标准的1秒钟等待
@echo off
echo %time%
set /a End=%time:~7,1%%time:~9,2%+100
:loop
if %time:~7,1%%time:~9,2%==%End% (goto end) else (goto loop)
:end
echo %time%
pause