Files contained in this archive: STARTUP.CMD - Sample startup command file WAITFOR.EXE - Looks for a file x every y seconds WAITFOR.CPP - C source code WAITSEC.EXE - Waits x seconds WAITSEC.CPP - C source code README.TXT - This file. If you are reading this, and README.TXT does not exist in your archive, then you are in some alternate universe. WAITFOR.EXE x y x is a full pathname that you supply. I have tested x with UNC (universal naming convention) names, and have had success. An example would be "\\HAL\SYS\SYSTEM\BINDFIX.EXE" less the quote marks. HAL is the fileserver, and SYS is the volume. Of course, you could always just use standard DOS-like filenames, such as "Y:\SYSTEM\BINDFIX.EXE". y is the number of seconds between searches for the filename. Fewer the seconds, will use more system time to look for file x. If you make this a higher number, then your system is left with more time of its own to load files. The whole reason for this program's existance is to go into the startup.cmd file before loading any programs from the network. OS/2 does not log into the network automatically (if it did, there would be a major security problem). Once the user logs in, WAITFOR finds the file it has been looking for, then terminates itself, letting the rest of the command file execute. Do not put this program in your startup folder. Objects in your startup folder all start at the same time. The program you use for logging in should go in the startup folder. I use "NWTOOLS JEFF.NWS" in my startup folder. I also recommend removing "CONNECTIONS" from the "AUTOSTART=" line in your CONFIG.SYS, and adding "SET RESTARTOBJECTS = STARTUPFOLDERSONLY" just below the "AUTOSTART=" line. Make a shadow of all the folders and objects you want automatically started in your startup folder. One more use for this program is to put it in a command file that loads a program off a CD-ROM. If you start a program that requires a ROM, this will wait until the correct ROM is inserted, then automatically start the program. Pretty cool, eh? WAITSEC.EXE z z is the number of seconds to wait before releasing control. I use this between loading programs in my STARTUP.CMD file. I have found that it improves startup performance dramatically. Apperently, OS/2 works better if it is loading one thing at a time, rather than a half dozen things all at once. Another purpose for this program is to wait long enough for other programs to start before starting another one. In my case, I wait long enough for the fax software to start up before I give it the command to start receiving. Please see the sample STARTUP.CMD file. This is my actual STARTUP.CMD file, so I know it works. The WAITFOR program has been tested ONLY on OS/2 Warp 3.0 using the Netware Requester v2.1, connecting to Netware 386 3.12. There are no guarantees associated with this software. Use it at your own risk. The source code is included with the archive. Please feel free to make any of your own modifications, but do not add your mods to this archive. The programs were originally compiled with Borland C++ for OS/2 v1.5. Jeff Lamb 76256,2123