How to set delay in vbscript

前端 未结 11 1423
鱼传尺愫
鱼传尺愫 2020-12-03 09:35

How to set delay in vbscript?

WScript.Sleep(100) does not work on Windows XP, Vista.

11条回答
  •  不知归路
    2020-12-03 10:08

    The following line will make your script to sleep for 5 mins.

    WScript.Sleep 5*60*1000
    

    Note that the value passed to sleep call is in milli seconds.

提交回复
热议问题