Revision #2 - Removed the ISTICIN.EXE Message Boxes for Auto Startup. Revision #3 - Added delete function to the ISTICIN Main Menu. Revision #4 - Added Ini file for flag name, made dialog to set flag name, and changed name from ISTICIN to WINFLAG.EXE, modified manual. Revision #5 - Added code to keep Window on top even if another is activated. This archive contains two programs. ZEROFILE.EXE is a dos based program that will create a ZERO length file that can be used as a flag file. The parameters are ZEROFILE Path\Filename.Ext WINFLAG.EXE is a Windows based program that has a ten second timer routine in it, and every ten seconds it will check for a flag file. It tries to open the file. If it is successful, then it knows that the flag is on. If the window is an icon, it is brought to the top of the Z window order. When WINFLAG.EXE boots, it will always default to a background process. There are now two methods to tell WINFLAG.EXE where to look for the flag file. Use the properties under the Program Manager `FILE'. Under Command Line should be the path for WINFLAG and after the .EXE add a space and then the path for the flag file. An INI file can be used. This is created or modified from within the program itself....select File and then Set Flag. This will create/write to the INI file. WinFlag will then minimize itself and wait for the flag. This will assist if the machine does a reboot and WinFlag is in the STARTUP folder, as it then uses the INI file value for the flag. An incorrect path will cause the flag to never be found, since no verification is done on the path supplied...only if there is some kind of text for a flag file. This allows you to have the flag file of your choice. As example for command line use: C:\WINDOWS\WINFLAG.EXE C:\MAIL\INBOUND\FLAGFILE.TXT or for dialog entry: C:\MAIL\INBOUND\FLAGFILE.TXT **************************************************** A command line path will over ride an INI file name. **************************************************** The filename path can be up to 63 characters in length. The program will delete the flag file by using the menu command. If the file is deleted, then the program will return to being a background process and wait for the next flag to find. A message box appears if the file can't be deleted. The program timer is turned off when the flag is on. If the program window is minimized, then the timer is turned back on and the window will reappear if the flag file still exists....see above for the Menu delete command. Error Messages will be given if there is no command line supplied or if the program can not hook a system timer. These will appear at program boot time. The main program window will then not go into a background process and will contain a text line saying what is wrong..ie: no timer or no command line. This program can be used as an accessory item or placed in the auto STARTUP folder. By having it in the folder for accessories, starting the program will give you a result on a flag after a ten second period has passed. If the program window disappears on boot, then the ini filename is used or there is a command line value. Enjoy! Patrick Cohan, PMC Systems Software. July 10th, 1995