Category : Batch File Utilities - mostly for DOS
Archive   : BATCH50.ZIP
Filename : RUNLOG.BAT

 
Output of file : RUNLOG.BAT contained in archive : BATCH50.ZIP
@ECHO OFF
REM This is RUNLOG.BAT
REM
REM RUNLOG.BAT lets you log the time you spend at the keyboard. To run it,
REM you must enter four things on the command line: 1) The name of the batch
REM file (RUNLOG.BAT), 2) The name of the program you want to run, 3) The
REM data file for that program, and 4) Up to seven words of memo notes about
REM it. For example, to run WordStar, work on JONES91.TAX, and log the note
REM "Jones's 1991 taxes," you'd type.
REM
IF EXIST PERSONAL.LOG GOTO START
REM > PERSONAL.LOG
:START
IF %1!==! GOTO OOPS
ECHO ------------- >> PERSONAL.LOG
ECHO | MORE | DATE | FIND "Cur" >> PERSONAL.LOG
ECHO | MORE | TIME | FIND "Cur" >> PERSONAL.LOG
ECHO Ran %1 using data file %2 >> PERSONAL.LOG
ECHO Notes: %3 %4 %5 %6 %7 %8 %9 >> PERSONAL.LOG
%1 %2
ECHO | MORE | TIME | FIND "Cur" >> PERSONAL.LOG
ECHO ------------ >> PERSONAL.LOG
ECHO PERSONAL.LOG updated . . .
GOTO END
:OOPS
ECHO Enter three things after %0, all on the same line:
ECHO 1. The name of the program you want to run
ECHO 2. Then the data file for that program
ECHO 3. Then up to seven words of memo notes about it
ECHO e.g.: To run WordStar, work on JONES91.TAX,
ECHO and add a "Jones's 1991 taxes" log entry,
ECHO enter: %0 WS JONES91.TAX Jones's 1991 taxes
:END

  3 Responses to “Category : Batch File Utilities - mostly for DOS
Archive   : BATCH50.ZIP
Filename : RUNLOG.BAT

  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/