党多多

让批处理在执行完上一个命令后,等待五秒钟再执行下一个命令
共有两中常见的办法~常用的办法:(不精确)@echo off 命令1.......ping -n 5 127.1&...
扫描右侧二维码阅读全文
09
2017/03

让批处理在执行完上一个命令后,等待五秒钟再执行下一个命令

共有两中常见的办法~

常用的办法:(不精确)
@echo off
命令1.......
ping -n 5 127.1>nul
命令2.......

精确的办法:(精确)
@echo off
命令1.......
echo wscript.sleep 5000>%tmp%delay.vbs&&%tmp%delay.vbs&&del /q %tmp%delay.vbs
命令2.......

Last modification:March 9th, 2019 at 07:10 pm
If you think my article is useful to you, please feel free to appreciate

One comment

  1. Google

    Every as soon as in a though we pick blogs that we read. Listed below are the most up-to-date w[...]

Leave a Comment