DOS命令 停止

来源:百度知道 编辑:UC知道 时间:2024/06/25 00:10:56
我要运行两个进程,但中间要有10秒钟间隔。
1、运行程序1
2、停止10秒
3、再运行程序2
就是要在一个批处理里面
停止10秒的命令怎么写

批处理里没有该命令,但有个wait.com的外部命令,可以满足你的需求

http://download.plop.at/plop/WAIT.COM

具体使用自己wait -h看看呗

wait [-s value] [-m value] [-n] [-h]

waits for some time

-s seconds
-m minutes
-n no output
-h help

那你就写一个批处理程序吧`

关注中~~

用批处理程序啊....为什么要隔10秒呢