TIMEOUT.exe – Windows CMD Command


Notice: A non well formed numeric value encountered in /home/future4tech/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 118

Notice: A non well formed numeric value encountered in /home/future4tech/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 119

Notice: A non well formed numeric value encountered in /home/future4tech/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 118

Notice: A non well formed numeric value encountered in /home/future4tech/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 119

Delay execution for a few seconds or minutes, for use within a batch file.

Timeout will pause command execution for a number of seconds, after which it continues without requiring a user keystroke. If the user does press a key at any point, execution will resume immediately.

A delay can also be produced by the PING command with a loopback address, there is a delay of 1 second between each consecutive ping.

In tests PING consumes less processor time than Sleep.exe or Timeout.exe, this allows other processes to run in the background. The PING command can only be interrupted with Ctrl-C. Source: Clay Calvert (usenet 2001.)

Examples

Set a delay for 40 seconds:
PING -n 41 127.0.0.1>nul
Echo Now we are ready

You may also like...

4 Responses

  1. graliontorile says:

    Thank you for sharing excellent informations. Your web-site is very cool. I am impressed by the details that you have on this web site. It reveals how nicely you understand this subject. Bookmarked this web page, will come back for extra articles. You, my friend, ROCK! I found just the info I already searched all over the place and simply couldn’t come across. What a great site.

  2. zoritoler imol says:

    When I initially commented I clicked the “Notify me when new comments are added” checkbox and now each time a comment is added I get four emails with the same comment. Is there any way you can remove me from that service? Bless you!

  3. graliontorile says:

    Outstanding post, I conceive website owners should larn a lot from this web site its very user genial.

  4. zortilonrel says:

    hello!,I like your writing very so much! share we keep up a correspondence extra approximately your post on AOL? I need an expert on this house to resolve my problem. Maybe that’s you! Having a look ahead to peer you.

Leave a Reply

Your email address will not be published. Required fields are marked *