WScript.Sleep

Suspend the execution of the current script for the specified number of milliseconds.

Syntax 
       WScript.Sleep lngTime

Arguments:
         lngTime is the delay in milliseconds 

Sleep is a wscript method.

Example

WScript.Sleep(5000)
WScript.Echo("5 seconds have passed.")

“Success isn't permanent, and failure isn't fatal” ~ Mike Ditka

Related:

Equivalent Windows CMD commands: SLEEP - Wait for x seconds, WAITFOR - Wait for or send a signal.
Equivalent PowerShell cmdlet: Start-sleep


 
Copyright © SS64.com 1999-2019
Some rights reserved