dos下5秒后自动执行另一个命令并提示倒计时的批处理怎么写?

@echo off
set num=6
:slz
if %num% equ 0 (goto:end) else set /a num-=1
echo %num% 秒后自动执行另一个命令
ping -n 2 127.0.1>nul 2>nul&cls
goto:slz
:end
rem 你的命令,可以用下面PING命令来试验,当然也可以是路径

ping www.126.com -t

Comments

Popular posts from this blog

potplayer 次字幕位置

emule kad 无法连接