home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / MISC / NETWORK / 3LOG.ZIP / 3LOG.DOC < prev    next >
Encoding:
Text File  |  1990-11-21  |  2.1 KB  |  50 lines

  1.                                 3Log
  2.  
  3.                           3Com Corporation
  4.                    TSO Engineering - Michel Degive
  5.                              11/01/90
  6.  
  7.  - 3Log is a 3+ utility that will write the name a logged-in user to an
  8.    ascii file. A typical use of 3Log, would be to track which users are
  9.    running an application.
  10.  - 3Log has three commands:
  11.     1. 3Log ON will write the logged-in user name to the log file
  12.     2. 3Log OFF will remove the logged-in user name from the log file
  13.     3. 3Log LIST will list the names of the users in the log file
  14.  - 3Log was written using the 3+ Developer's Library.
  15.  - How to run 3Log:
  16.  
  17.          3LOG ARG1 ARG2 [ARG3]
  18.               ARG1 = ON    to write name
  19.                      OFF   to remove name
  20.                      LIST  to list names
  21.               ARG2 = LogFileName   EG: MYAPP.LOG
  22.               ARG3 = ProgramName(optional)  EG: MYAPP.EXE
  23.  - Examples:
  24.     1. You want to track who is currently using your HANGMAN program:
  25.        Create a batch file that will start your program (batch file would
  26.        resides on a sharename and is accessed by the users from 3+Menus):
  27.        HANG.BAT
  28.          rem write user name to log file
  29.          3log on HANG.LOG HANGMAN
  30.          rem run hangman program
  31.          hangman
  32.          rem after hangman program is exited, remove user name from log file
  33.          3log OFF HANG.LOG HANGMAN
  34.        To find out who is using your program, type:
  35.          3LOG LIST HANG.LOG
  36.        Voila!
  37.     2. You want to track who uses your HANGMAN program and for how long:
  38.        Create a batch file that will start your program (batch file would
  39.        resides on a sharename and is accessed by the users from 3+Menus):
  40.        HANG.BAT
  41.          rem write user name to log file
  42.          3log on HANG.LOG HANGMAN-ON
  43.          rem run hangman program
  44.          hangman
  45.          rem after hangman program is exited, write user name to log file again
  46.          3log ON HANG.LOG HANGMAN-OFF
  47.        To find out who is using your program, type:
  48.          3LOG LIST HANG.LOG
  49. - Source code is included, as well as 3Logmk.bat to recompile 3Log.
  50.