Category : Files from Magazines
Archive   : VOL7N21.ZIP
Filename : LOG.DOC

 
Output of file : LOG.DOC contained in archive : VOL7N21.ZIP

LOG.COM
Command

Jeff Prosise
1988 No. 21 (Utilities)


Purpose: A memory-resident utility that automatically maintains a record
of computer activity suitable for tax records, client billings, and use-
analysis.

Format: LOG [filespec] [/U]

Remarks: Entered without the optional filespec parameter, LOG opens a
file named USAGE.LOG in the root directory of the current drive. The user may
over-ride any or all of the drive, path, and filename defaults by supplying his
desired parameters as the filespec option when LOG is initially run. Although
it can be executed from the DOS prompt, LOG is normally loaded by being included
as a line in an AUTOEXEC.BAT file. Provided it is either the only or the last
memory-resident program loaded, LOG can be uninstalled by executing the command
with the /U parameter.

After listing the date, LOG files provide a single-line columnar display
of start, end, and elapsed times for each program run. The program name and any
parameters entered with it are also logged, as is the "level" of DOS activity.
The original DOS level is 0; a program running under DOS is level 1; invoking a
secondary copy of COMMAND.COM by shelling out from the program to DOS,
represents level 2, etc. LOG can track up to 10 levels of DOS activity. Time
spent at the DOS prompt is identified as . LOG does not record the use of
internal DOS commands (DIR, CD, REN, for example), nor command calls that fail
("Bad command or filename"). LOG produces pure ASCII files that can be TYPE'd
to the screen or to a printer and that can be used with a browse utility or text
editor.

Available for downloading from PC MagNet (see the LOG by Modem sidebar),
LOG.COM is already compiled and ready to run. LOG.BAS will automatically create
LOG.COM when run once in BASIC. To create LOG.COM from the LOG.ASM source code
requires use of a macro assembler (IBM or Microsoft, Version 2 or later) and the
following commands:

MASM LOG;
LINK LOG;
EXE2BIN LOG LOG.COM


  3 Responses to “Category : Files from Magazines
Archive   : VOL7N21.ZIP
Filename : LOG.DOC

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/