************ PUTLOG/2 v 1.00 ************ copyright David L Etheredge 1994 Putlog (Dos Version) and Putlog2 (OS/2 Version) are programs designed to help logging and tracking the usage of computer programs and time. The commands can be added to batch and command files and will log the date and time that the file is run. For example: in the OS/2 Config.sys the following is added to show the date and time that the system is booted. CALL=C:\PUTLOG2.EXE /p! OS/2 Booted A similar line can be added to the DOS Autoexec.bat file to show when Dos is booted. CALL=C:\PUTLOG.EXE /p! MsDos Booted CALL=C:\PUTLOG.EXE /p! Windows loaded CALL=C:\PUTLOG.EXE /p! Exit Windows Putlog Prints the date and time along with other command line input to the StdOut. This can be redirected into a file, a printer, com port, etc. FORMAT: PUTLOG2 /p! line of information >>device or file The /p in the first argument will cause the following character to be placed in front of the time and date, all other text will follow the time and date. The '&' character is not allowed in OS/2. EXAMPLE ... putlog2 /p# This is a test >>test.log puts '# Sat Aug 20 03:42:33 1994 This is a test' into the file test.log NOTE: the single redirection '>' will print only the last line and deletes all previous. while double redirection '>>' appends the line to the file DISCLAIMER: This program is guaranteed to take up space on your disk if you keep it. No other guarantees, specified, implied, or otherwise are made. By using this program, you agree to accept full responsibility for any and all damages that may arise from such use. This program may be freely used without charge except in a commercial, business, or government function. Any donations to the author are appreciated. License fee for commercial, business, or government use is $10.00 per copy and covers both versions. Licensed source code is $25.00. Please submit fees / contributions to: David L. Etheredge 336 Point Clear Dr. Adger, Al. 35006 SAMPLE TEST.LOG file * Sat Aug 20 04:12:27 1996 START new log Wed Sep 25 23:04:31 1996 OS/2 Booted Wed Sep 25 23:06:54 1996 this is a test ! Wed Sep 25 23:07:48 1996 this is a test 2 @ Wed Sep 25 23:08:01 1996 this is a test 3 $ Wed Sep 25 23:08:08 1996 this is a test 4 % Wed Sep 25 23:08:21 1996 this is a test 5 * Wed Sep 25 23:08:31 1996 this is a test 6 Wed Sep 25 23:15:29 1996 program started Wed Sep 25 23:17:14 1996 program stopped Wed Sep 25 23:19:01 1996 OS/2 Shutdown