hard inference

How to pause a batchfile (or make a batchfile wait)

by naisan on Jan.28, 2010, under Uncategorized

How to make a batchfile wait or pause? I see many people propose a vbs or c++ program, but this is the easiest way to make a batchfile pause:

Use the TIMEOUT DOS command timeout to make the bacth file wait. For example “TIMEOUT /T 3600″ inserted into your batchfiles will pause for 3600 seconds, or 30 minutes. A user can override this, but if you use the /NOBREAK parameter it will ignore a keypress. If you want it to wait for a keypress indefinately, use the /T -1 setting (wait forever) without the /NOBREAK.

So, to make your batchfile wait for 10 minutes, and ignore keypresses, add in this line:

TIMEOUT /T 600 /NOBREAK

:
3 comments for this entry:
  1. RYAN


    Pillspot.org. Canadian Health&Care.Best quality drugs.No prescription online pharmacy.Special Internet Prices. High quality drugs. Order drugs online

    Buy:Human Growth Hormone.Synthroid.Actos.Nexium.Zyban.Retin-A.100% Pure Okinawan Coral Calcium.Accutane.Prevacid.Mega Hoodia.Prednisolone.Arimidex.Petcam (Metacam) Oral Suspension.Valtrex.Lumigan.Zovirax….

  2. DOUG


    Medicamentspot.com. Canadian Health&Care.Best quality drugs.Special Internet Prices.No prescription online pharmacy. High quality pills. Order drugs online

    Buy:Seroquel.Prozac.Lipitor.SleepWell.Cozaar.Acomplia.Wellbutrin SR.Nymphomax.Female Pink Viagra.Ventolin.Zetia.Advair.Zocor.Buspar.Aricept.Benicar.Lipothin.Amoxicillin.Lasix.Female Cialis….

Leave a Reply

You must be logged in to post a comment.

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...