home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 11 Util
/
11-Util.zip
/
loop.zip
/
read.me
< prev
next >
Wrap
Text File
|
1994-12-26
|
1KB
|
59 lines
Two OS/2 Commands "sleep" and "loop".
Written By: Greg Goodwin with gcc.
Must have emx.dll files.
Enjoy!
==================================================
Program: Sleep.exe
Function: Sleep for specified time.
==================================================
Program: Loop.exe
Function: Execute command more than once
==================================================
Sleep.exe in detail:
Usage: sleep -s time
Sleep for time. Default time is in miliseconds.
[C:\] sleep 20 <-- sleep 20 miliseconds
[C:\] sleep -s 20 <-- sleep 20 seconds
==================================================
Loop.exe in detail:
Usage: loop [-t] [-n<count>] [-m] [-s<count>] [<prog>] [..<progx>]
-t will report time used.
-n loop count.
-s sleep for count
-m sleep count is in miliseconds : default is seconds
Example:
[C:\] loop -t -n 4 -s 3 "dir *.exe /w" "ps -p"
The above command will execute the commands "dir *.exe /w" and "ps -p"
report the time, sleep for three seconds. This will be repeated
four times.
If no loop count value is given the command will be executed
forever or until the user breaks.
Time Display look like this:
94/12/26 03:43:35 up for: 0 days 0 hours 0 minutes 13 seconds
Wait 3 Seconds