标题:
求教关于LOOP的用法
[打印本页]
作者:
biobio
时间:
2008-3-7 21:36
标题:
求教关于LOOP的用法
我在一段批处理中用到LOOP
来反复执行一段批处理
:LOOP
c:\z.bat
GOTO LOOP
但我想间隔一下时间执行
该怎样?
谁能讲讲LOOP的用法
作者:
red811201
时间:
2008-3-7 22:58
:LOOP
c:\z.bat
::等待3秒后继续
GOTO LOOP
PS.等待1秒就改成
ping -n 2 127.0.0.1>nul
等待5秒就改成
ping -n 6 127.0.0.1>nul
依此类推
欢迎光临 中国DOS联盟论坛 (http://cndos.fam.cx/forum/)
Powered by Discuz! 2.5