How to set delay in vbscript

前端 未结 11 1406
鱼传尺愫
鱼传尺愫 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 09:57

    Time of Sleep Function is in milliseconds (ms)

    if you want 3 minutes, thats the way to do it:

    WScript.Sleep(1000 * 60 * 3)
    

提交回复
热议问题