在批处理中延时(等待)

Code

echo CreateObject("scripting.filesystemobject").deletefile(WScript.scriptfullname):WScript.sleep WScript.Arguments(0)>%Temp%\SleepScript.vbs
start /wait %Temp%\SleepScript.vbs <DelayTime>

Update History

20180713

20180401