Dec 172017
 
Program delays into your batch files.
File DELAY1.ZIP from The Programmer’s Corner in
Category Batch Files
Program delays into your batch files.
File Name File Size Zip Size Zip Type
DELAY.C 896 518 deflated
DELAY.CMD 4480 2505 deflated
DELAY.TXT 1536 774 deflated

Download File DELAY1.ZIP Here

Contents of the DELAY.TXT file




DELAY V1.0 - Alex K.H. Soya, Logan Industries, Inc. (407) 984-1627


DELAY is a small utility which does nothing but waste time. Even though
this seems sort of useless, there are a lot of cases when such a utility
may come in handy.


For example in the AUTOEXEC.BAT file, I often start up several processes
(like for example the company BBS system, the CSPOOL spooler, etc) on different
consoles. At times it is important that certain processes start up before
any other processes, by using DELAY in the batch file I can accomplish this.

For example in my AUTOEXEC.BAT I start up the the CALLUS BBS on virtual
console 3 and 4. I want to make sure that console 4 starts first so the
lines:


if "%3"=="3" goto BBS
if "%4"=="4" goto BBS
:
bla bla
bla bla for other consoles... etc

:BBS
if "%3"=="3" delay 5
NETON; turn on network
LOGON 2::; logon node 002 on to this system
SUBST P: C:\CDOS; do the stuff CALLUS needs and fire it up
P:
CALLUS
EXIT




This utility is placed into the Public Domain, you may use it, copy
it and do whatever you like with it. Note that the author and
Logan Industries, Inc. are not in any way liable for any damage
or use this utility provides. All risks of using this utility are
the users or endusers.


Hope you too find wasting time usefull! -Alex Soya
Logan Industries, Inc.





 December 17, 2017  Add comments

Leave a Reply