Take the 2-minute tour ×  Windows's Snipping tool can capture
the screen, but sometimes I want to capture the screen after 5
seconds, such as taking an image being displayed by the webcam.
(run the script and smile at the camera, for example).  So in
Ruby, I could do something like  sleep 3  but not all computer
has Ruby, so how do I do that in a .bat file? (something that is
runnable on most PC with Snipping tool).  The problem is that
there is no "sleep" usable in a .bat file.  share|improve this
question possible duplicate of How to wait in a batch script – 
Helen Feb 6 '11 at 13:19 Possible duplicate of Sleeping in a
batch file –  Peter Mortensen Jul 23 '13 at 14:24
@PeterMortensen Can't see how this would classify as a
duplicate, since this question was created two years before the
one you mentioned. –  zyboxenterprises Nov 10 '13 at 9:58 add
comment  27 Answers  up vote 201 down vote accepted  One hack I
have seen is to use the ping command to attempt to ping an
invalid IP address:  ping -n 1 -w 3000 >