Sleep/Wait command in Batch
timeout 5 to delay timeout 5 >nul to delay without asking you to press any key to cancel
timeout 5 to delay timeout 5 >nul to delay without asking you to press any key to cancel
Like this: The num_secs value can be an integer or float. Also, if you’re writing this within a Rails app, or have included the ActiveSupport library in your project, you can construct longer intervals using the following convenience syntax:
It Seems fine to me (or raw_input() in Python 2.X). Alternatively, you could use time.sleep() if you want to pause for a certain number of seconds.