START "" "C:Program Files (x86)\Microsoft Office\Office16\WINWORD.EXE" Source: Clay Calvert (usenet 2001.)Įcho Start Microsoft Word, wait for 10 seconds and then start Excel. The PING command can only be interrupted with Ctrl-C. In tests PING consumes less processor time than Sleep.exe or Timeout.exe, this allows other processes to run in the background. Press a key at any point, execution will resume immediately.Ī timeout of 1 second will wait until the "next second" so in practice may be as short as 1/10th of a second.Ī more accurate delay can be produced by the PING command with a loopback address ( 127.0.0.1), there is a delay of 1 second between each consecutive ping, so 3 pings will produce a delay of 2 seconds, 11 pings will produce a delay of 10 seconds and so on. Timeout will pause command execution for a number of seconds,Īfter which it continues without requiring a user keystroke. The value -1 causes the computer to wait indefinitely for a keystroke Syntaxĭelay Delay in seconds (between -00) to wait before continuing. Delay execution for a few seconds or minutes, for use within a batch file.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |