Category : Batch File Utilities - mostly for DOS
Archive   : DELAY1.ZIP
Filename : DELAY.C

 
Output of file : DELAY.C contained in archive : DELAY1.ZIP

#include

#define P_DELAY 141 /* Concurrent DOS process delay call */

/* quicky to cause a delay of specified amount. Usefull in batch files
etc to cause a delay before execution to force execution of commands
in particular order.


You may use this utility freely and modify it to your hearts content.
If you place it back in the PD please do not remove original comments
or credits, and add your own revision history to it.


Version 1.0 Virgin Release
9/25/89


- Alex Soya, Logan Industries, Inc.
(407) 984-1627
*/

main(ac,av)
int ac;
char **av;
{
printf("\nDelay 1.0 - Logan Industries, Inc.");
if (ac !=2) {
printf("\nUsage: Delay t");
printf("\n t = time in seconds to wait");
exit(1);
}
bdos(P_DELAY,atoi(av[1]) * 60);
}


  3 Responses to “Category : Batch File Utilities - mostly for DOS
Archive   : DELAY1.ZIP
Filename : DELAY.C

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/