ForrestHeller.com - [:-)]

sleep program

Navigation
Kitty
Kitty
You
Site
Valid XHTML 1.0 Strict Powered by PHP

Purpose

sleep program will sleep for the delay you specify in seconds on the command line. It is comparable to the sleep program found on *nix systems. It's not a milestone achievement but I often need it for batch files on Windows when I don't use Cygwin. It comes with a batch file that will install sleep.exe in the system root directory, so it can be used in all scripts regardless of path.

Usage

On the command line: sleep [seconds]. Example: sleep 5 sleeps for 5 seconds. Alternatively sleep p [milliseconds] will delay for milliseconds instead of seconds. Example: sleep p 500 will sleep for half a second.

Download

sleep.zip File size: 3.39 KB

Source code

It's not actually impressive, but for the curious: source code.

Page last modified on August 17 2009 09:53:30 (EDT)