home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: SysTools / SysTools.zip / putlog2.zip / PUTLOG2.TXT < prev   
Text File  |  1996-09-26  |  3KB  |  84 lines

  1. ************ PUTLOG/2 v 1.00 ************
  2.  copyright David L Etheredge  1994 
  3.  
  4. Putlog (Dos Version) and Putlog2 (OS/2 Version) are programs designed to help 
  5. logging and tracking the usage of computer programs and time. The commands 
  6. can be added to batch and command files and will log the date and time that the file
  7. is run.
  8.  
  9. For example: in the OS/2 Config.sys the following is added to show the date and time 
  10. that the system is booted.
  11.  
  12.                       CALL=C:\PUTLOG2.EXE /p! OS/2 Booted
  13.  
  14. A similar line can be added to the DOS Autoexec.bat file to show when Dos is booted.
  15.  
  16.                       CALL=C:\PUTLOG.EXE /p! MsDos Booted
  17.  
  18.                       CALL=C:\PUTLOG.EXE /p! Windows loaded
  19.                       CALL=C:\PUTLOG.EXE /p! Exit Windows 
  20.  
  21. Putlog    Prints the date and time along with other command line input to the StdOut.
  22.  
  23.     This can be redirected into a file, a printer, com port, etc. 
  24.  
  25.     FORMAT: PUTLOG2 /p! line of information  >>device or file
  26.  
  27.     The /p in the first argument will cause the following character
  28.     to be placed in front of the time and date, all other text will
  29.     follow the time and date. The '&' character is not allowed in OS/2.
  30.  
  31.     EXAMPLE ... putlog2 /p# This is a test >>test.log
  32.       puts '# Sat Aug 20 03:42:33 1994 This is a test' into the file test.log 
  33.  
  34. NOTE: the single redirection '>' will print only the last line and deletes all previous.
  35.          while double redirection '>>' appends the line to the file
  36.  
  37. DISCLAIMER:
  38.  
  39. This program is guaranteed to take up space on your disk if you keep it.
  40. No other guarantees, specified, implied, or otherwise are made.
  41.     
  42.           By using this program, you agree to accept full responsibility for any and
  43.     all damages that may arise from such use.
  44.     
  45. This program may be freely used without charge except in a commercial, business, 
  46. or government function.
  47.  
  48.     Any donations to the author are appreciated.
  49.  
  50. License fee for commercial, business, or government use is $10.00 per copy and covers
  51. both versions.
  52.  
  53.     Licensed source code is  $25.00.
  54.  
  55.     Please submit fees / contributions to: 
  56.     David L. Etheredge    336 Point Clear Dr.  Adger, Al. 35006 
  57.  
  58.  
  59.  
  60. SAMPLE   TEST.LOG file
  61.  
  62. * Sat Aug 20 04:12:27 1996 START new log 
  63.  
  64.   Wed Sep 25 23:04:31 1996 OS/2 Booted 
  65.  
  66.   Wed Sep 25 23:06:54 1996 this is a test 
  67.  
  68. ! Wed Sep 25 23:07:48 1996 this is a test 2 
  69.  
  70. @ Wed Sep 25 23:08:01 1996 this is a test 3 
  71.  
  72. $ Wed Sep 25 23:08:08 1996 this is a test 4 
  73.  
  74. % Wed Sep 25 23:08:21 1996 this is a test 5 
  75.  
  76. * Wed Sep 25 23:08:31 1996 this is a test 6 
  77.  
  78.   Wed Sep 25 23:15:29 1996 program started 
  79.  
  80.   Wed Sep 25 23:17:14 1996 program stopped 
  81.  
  82.   Wed Sep 25 23:19:01 1996 OS/2 Shutdown 
  83.  
  84.