JSI Tip 5537. WaitForTime and Delay freeware.

Downloads
dlywft10.zip


When you download and unzip the dlywft10.zip freeware, it contains wft.exe and delay.exe.

When you open a CMD prompt and type wft, you receive:

WaitForTime v1.0 by Douglas Good
Copyright 2000 Outside The Box Software
Illegal time value specified.
Use military time format (ie. 23:30) or use format: HH:MM:SS AM/PM

Sample Usage

wft 20:00
Waiting until 20:00:00

If you wish to suppress the 'Waiting until' message, use:

wft 20:00 >nul

When you type delay, you receive:

DELAY v1.0 by Douglas Good
Copyright 2000 Outside The Box Software
Illegal delay value specified.
Usage: DELAY <seconds>

Sample Usage

To cause your batch process to sleep for 15 seconds, type:

sleep 15
Waiting for 15 seconds, CTRL-C to abort

If you wish to suppress the 'Waiting for' message, use:

sleep 15 >nul



Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish