STARTAPP and STOPAPP are REXX scripts that start and stop OS/2 PM applications. These two command files were specifically written to start and stop KAT.EXE, which is part of the KOPYKAT remote access software package published by Hilgraeve. These two scripts are handy if you would like to share access to a computer with a line that is also used for voice. You can set start and stop times and make the computer accessible for a certain time period during a day and them freeing it for voice access. STARTAPP.CMD requires REXXUTIL.DLL which comes with OS/2. STOPAPP.CMD requires APMT, an Automated PM Tester/Driver which is available where REXX add-ons reside. It is also on IBM's Developer Connection CD's. Here is how it works: Place these two CMD files onto the same drive as the application you want to start. I put them into the root directory. Edit the start and stop times inside the STARTAPP and STOPAPP (just provide hours and minutes). Run the STARTAPP.CMD in an OS/2 Window session. This program will check the time every second and if the start time matches the current time, then STARTAPP will start KAT in auto-answer mode, start STOPAPP and close itself. STOPAPP will then run similarly and when the stop time matches the current time, it will close KAT.EXE and make certain that it is closed by trying three times if the application did not close. This proved to be necessary as for some reason the close command of the APMT routine does not always work and will therefore leave KAT.EXE running and tie up the phone line. STOPAPP will in turn start STARTAPP again and close itself. This will repeat itself until one of these programs is manually closed by pressing Q or q. Both programs will also display the current time every minute. These two scripts can easily be changed to run any other PM application. If you have your own scheduler, then you could start KAT.EXE from this scheduler and start STOPAPP (with the scheduler) just before you want KAT.EXE stopped. Edit out the command where it starts STARTAPP as it is not required. If you have any questions or comments, e-mail 73322.2045@compuserve.com or visit my homepage at http://ourworld.compuserve.com/homepages/aschw STARTAPP.CMD and STOPAPP.CMD have been released to Public Domain - feel free to use and modify this code to your content.