Home » CEEFAX disks » telesoftware16.adl » 19-05-89/Actilog\DO
19-05-89/Actilog\DO
This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.
Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.
Tape/disk: | Home » CEEFAX disks » telesoftware16.adl |
Filename: | 19-05-89/Actilog\DO |
Read OK: | ✔ |
File size: | 087A bytes |
Load address: | 0000 |
Exec address: | FFFFFFFF |
File contents
ACTILOG. A program to help with the problem of automatically keeping track of changes make to the disc and when such changes were made. It is designed mainly for use by hard disc users and provides a simple means of date and time logging the activity of your PC. The program is particularly useful for keeping track of when actions such as backups were carried out, although it can also be used for automatically recording start and finish times of programs or finding out how much time was spent on a particular activity. The program should be loaded into a directory searched by MSdos. That is, one specified in the PATH command so that it can be accessed from any batch file in other directories. Each time the program is called, an Ascii file named ACTIVITY.LOG is updated with the current date and time, followed by a note taken from the first 20 characters of the command tail. If an MSdos batch file contains the instructions: ECHO OFF ACTILOG Start Wordstar WS CLS ECHO Insert floppy in drive A: for back up of files BACKUP/WORDSTAR/*.DOC A: ACTILOG Doc files backed up The ACTIVITY.LOG file would show something like this: 23-02-88 12.42 Start Wordstar 23-02-88 14.13 Doc files backed up The ACTIVITY.LOG file is in Ascii Format and can be read by the MSdos command TYPE or edited with a word processor. You can also include a line such as: ACTILOG Computer booted in your AUTOEXEC.BAT file to keep a permanent record of when the computer is used. The program is written in assembly language and is thus free of any size overhead encountered with programs written in high level languages. Its small size also means it loads and runs very quickly and there is no noticeable delay when the program is incorporated into batch files. If the program can not complete the task it sets out to do, Actilog return a value in ERRORLEVEL which can be analysed by the batch routine. Successful completion returns ERRORLEVEL=0.
00000000 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 |.... | 00000010 20 20 20 20 20 20 20 20 20 20 20 20 41 43 54 49 | ACTI| 00000020 4c 4f 47 2e 0d 0a 0d 0a 41 20 70 72 6f 67 72 61 |LOG.....A progra| 00000030 6d 20 74 6f 20 68 65 6c 70 20 77 69 74 68 20 74 |m to help with t| 00000040 68 65 20 70 72 6f 62 6c 65 6d 20 6f 66 20 61 75 |he problem of au| 00000050 74 6f 6d 61 74 69 63 61 6c 6c 79 20 6b 65 65 70 |tomatically keep| 00000060 69 6e 67 20 74 72 61 63 6b 20 6f 66 0d 0a 63 68 |ing track of..ch| 00000070 61 6e 67 65 73 20 6d 61 6b 65 20 74 6f 20 74 68 |anges make to th| 00000080 65 20 64 69 73 63 20 61 6e 64 20 77 68 65 6e 20 |e disc and when | 00000090 73 75 63 68 20 63 68 61 6e 67 65 73 20 77 65 72 |such changes wer| 000000a0 65 20 6d 61 64 65 2e 20 20 49 74 20 69 73 0d 0a |e made. It is..| 000000b0 64 65 73 69 67 6e 65 64 20 6d 61 69 6e 6c 79 20 |designed mainly | 000000c0 66 6f 72 20 75 73 65 20 62 79 20 68 61 72 64 20 |for use by hard | 000000d0 64 69 73 63 20 75 73 65 72 73 20 61 6e 64 20 70 |disc users and p| 000000e0 72 6f 76 69 64 65 73 20 61 20 73 69 6d 70 6c 65 |rovides a simple| 000000f0 20 6d 65 61 6e 73 0d 0a 6f 66 20 64 61 74 65 20 | means..of date | 00000100 61 6e 64 20 74 69 6d 65 20 6c 6f 67 67 69 6e 67 |and time logging| 00000110 20 74 68 65 20 61 63 74 69 76 69 74 79 20 6f 66 | the activity of| 00000120 20 79 6f 75 72 20 50 43 2e 20 20 54 68 65 20 70 | your PC. The p| 00000130 72 6f 67 72 61 6d 20 69 73 0d 0a 70 61 72 74 69 |rogram is..parti| 00000140 63 75 6c 61 72 6c 79 20 75 73 65 66 75 6c 20 66 |cularly useful f| 00000150 6f 72 20 6b 65 65 70 69 6e 67 20 74 72 61 63 6b |or keeping track| 00000160 20 6f 66 20 77 68 65 6e 20 61 63 74 69 6f 6e 73 | of when actions| 00000170 20 73 75 63 68 20 61 73 20 62 61 63 6b 75 70 73 | such as backups| 00000180 0d 0a 77 65 72 65 20 63 61 72 72 69 65 64 20 6f |..were carried o| 00000190 75 74 2c 20 61 6c 74 68 6f 75 67 68 20 69 74 20 |ut, although it | 000001a0 63 61 6e 20 61 6c 73 6f 20 62 65 20 75 73 65 64 |can also be used| 000001b0 20 66 6f 72 20 61 75 74 6f 6d 61 74 69 63 61 6c | for automatical| 000001c0 6c 79 0d 0a 72 65 63 6f 72 64 69 6e 67 20 73 74 |ly..recording st| 000001d0 61 72 74 20 61 6e 64 20 66 69 6e 69 73 68 20 74 |art and finish t| 000001e0 69 6d 65 73 20 6f 66 20 70 72 6f 67 72 61 6d 73 |imes of programs| 000001f0 20 6f 72 20 66 69 6e 64 69 6e 67 20 6f 75 74 20 | or finding out | 00000200 68 6f 77 20 6d 75 63 68 0d 0a 74 69 6d 65 20 77 |how much..time w| 00000210 61 73 20 73 70 65 6e 74 20 6f 6e 20 61 20 70 61 |as spent on a pa| 00000220 72 74 69 63 75 6c 61 72 20 61 63 74 69 76 69 74 |rticular activit| 00000230 79 2e 0d 0a 0d 0a 54 68 65 20 70 72 6f 67 72 61 |y.....The progra| 00000240 6d 20 73 68 6f 75 6c 64 20 62 65 20 6c 6f 61 64 |m should be load| 00000250 65 64 20 69 6e 74 6f 20 61 20 64 69 72 65 63 74 |ed into a direct| 00000260 6f 72 79 20 73 65 61 72 63 68 65 64 20 62 79 20 |ory searched by | 00000270 4d 53 64 6f 73 2e 20 20 54 68 61 74 0d 0a 69 73 |MSdos. That..is| 00000280 2c 20 6f 6e 65 20 73 70 65 63 69 66 69 65 64 20 |, one specified | 00000290 69 6e 20 74 68 65 20 50 41 54 48 20 63 6f 6d 6d |in the PATH comm| 000002a0 61 6e 64 20 73 6f 20 74 68 61 74 20 69 74 20 63 |and so that it c| 000002b0 61 6e 20 62 65 20 61 63 63 65 73 73 65 64 20 66 |an be accessed f| 000002c0 72 6f 6d 0d 0a 61 6e 79 20 62 61 74 63 68 20 66 |rom..any batch f| 000002d0 69 6c 65 20 69 6e 20 6f 74 68 65 72 20 64 69 72 |ile in other dir| 000002e0 65 63 74 6f 72 69 65 73 2e 20 20 45 61 63 68 20 |ectories. Each | 000002f0 74 69 6d 65 20 74 68 65 20 70 72 6f 67 72 61 6d |time the program| 00000300 20 69 73 20 63 61 6c 6c 65 64 2c 0d 0a 61 6e 20 | is called,..an | 00000310 41 73 63 69 69 20 66 69 6c 65 20 6e 61 6d 65 64 |Ascii file named| 00000320 20 41 43 54 49 56 49 54 59 2e 4c 4f 47 20 69 73 | ACTIVITY.LOG is| 00000330 20 75 70 64 61 74 65 64 20 77 69 74 68 20 74 68 | updated with th| 00000340 65 20 63 75 72 72 65 6e 74 20 64 61 74 65 20 61 |e current date a| 00000350 6e 64 0d 0a 74 69 6d 65 2c 20 66 6f 6c 6c 6f 77 |nd..time, follow| 00000360 65 64 20 62 79 20 61 20 6e 6f 74 65 20 74 61 6b |ed by a note tak| 00000370 65 6e 20 66 72 6f 6d 20 74 68 65 20 66 69 72 73 |en from the firs| 00000380 74 20 32 30 20 63 68 61 72 61 63 74 65 72 73 20 |t 20 characters | 00000390 6f 66 20 74 68 65 0d 0a 63 6f 6d 6d 61 6e 64 20 |of the..command | 000003a0 74 61 69 6c 2e 20 20 49 66 20 61 6e 20 4d 53 64 |tail. If an MSd| 000003b0 6f 73 20 62 61 74 63 68 20 66 69 6c 65 20 63 6f |os batch file co| 000003c0 6e 74 61 69 6e 73 20 74 68 65 20 69 6e 73 74 72 |ntains the instr| 000003d0 75 63 74 69 6f 6e 73 3a 0d 0a 0d 0a 20 20 20 20 |uctions:.... | 000003e0 20 20 20 20 20 20 20 20 45 43 48 4f 20 4f 46 46 | ECHO OFF| 000003f0 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 41 43 |.. AC| 00000400 54 49 4c 4f 47 20 53 74 61 72 74 20 57 6f 72 64 |TILOG Start Word| 00000410 73 74 61 72 0d 0a 20 20 20 20 20 20 20 20 20 20 |star.. | 00000420 20 20 57 53 0d 0a 20 20 20 20 20 20 20 20 20 20 | WS.. | 00000430 20 20 43 4c 53 0d 0a 20 20 20 20 20 20 20 20 20 | CLS.. | 00000440 20 20 20 45 43 48 4f 20 49 6e 73 65 72 74 20 66 | ECHO Insert f| 00000450 6c 6f 70 70 79 20 69 6e 20 64 72 69 76 65 20 41 |loppy in drive A| 00000460 3a 20 66 6f 72 20 62 61 63 6b 20 75 70 20 6f 66 |: for back up of| 00000470 20 66 69 6c 65 73 0d 0a 20 20 20 20 20 20 20 20 | files.. | 00000480 20 20 20 20 42 41 43 4b 55 50 2f 57 4f 52 44 53 | BACKUP/WORDS| 00000490 54 41 52 2f 2a 2e 44 4f 43 20 41 3a 0d 0a 20 20 |TAR/*.DOC A:.. | 000004a0 20 20 20 20 20 20 20 20 20 20 41 43 54 49 4c 4f | ACTILO| 000004b0 47 20 44 6f 63 20 66 69 6c 65 73 20 62 61 63 6b |G Doc files back| 000004c0 65 64 20 75 70 0d 0a 0d 0a 54 68 65 20 41 43 54 |ed up....The ACT| 000004d0 49 56 49 54 59 2e 4c 4f 47 20 66 69 6c 65 20 77 |IVITY.LOG file w| 000004e0 6f 75 6c 64 20 73 68 6f 77 20 73 6f 6d 65 74 68 |ould show someth| 000004f0 69 6e 67 20 6c 69 6b 65 20 74 68 69 73 3a 0d 0a |ing like this:..| 00000500 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 32 33 |.. 23| 00000510 2d 30 32 2d 38 38 20 20 31 32 2e 34 32 20 53 74 |-02-88 12.42 St| 00000520 61 72 74 20 57 6f 72 64 73 74 61 72 0d 0a 20 20 |art Wordstar.. | 00000530 20 20 20 20 20 20 20 20 20 20 32 33 2d 30 32 2d | 23-02-| 00000540 38 38 20 20 31 34 2e 31 33 20 44 6f 63 20 66 69 |88 14.13 Doc fi| 00000550 6c 65 73 20 62 61 63 6b 65 64 20 75 70 0d 0a 0d |les backed up...| 00000560 0a 54 68 65 20 41 43 54 49 56 49 54 59 2e 4c 4f |.The ACTIVITY.LO| 00000570 47 20 66 69 6c 65 20 69 73 20 69 6e 20 41 73 63 |G file is in Asc| 00000580 69 69 20 46 6f 72 6d 61 74 20 61 6e 64 20 63 61 |ii Format and ca| 00000590 6e 20 62 65 20 72 65 61 64 20 62 79 20 74 68 65 |n be read by the| 000005a0 20 4d 53 64 6f 73 0d 0a 63 6f 6d 6d 61 6e 64 20 | MSdos..command | 000005b0 54 59 50 45 20 6f 72 20 65 64 69 74 65 64 20 77 |TYPE or edited w| 000005c0 69 74 68 20 61 20 77 6f 72 64 20 70 72 6f 63 65 |ith a word proce| 000005d0 73 73 6f 72 2e 20 20 59 6f 75 20 63 61 6e 20 61 |ssor. You can a| 000005e0 6c 73 6f 20 69 6e 63 6c 75 64 65 20 61 0d 0a 6c |lso include a..l| 000005f0 69 6e 65 20 73 75 63 68 20 61 73 3a 0d 0a 0d 0a |ine such as:....| 00000600 20 20 20 20 20 20 20 20 20 20 20 20 41 43 54 49 | ACTI| 00000610 4c 4f 47 20 43 6f 6d 70 75 74 65 72 20 62 6f 6f |LOG Computer boo| 00000620 74 65 64 0d 0a 0d 0a 69 6e 20 79 6f 75 72 20 41 |ted....in your A| 00000630 55 54 4f 45 58 45 43 2e 42 41 54 20 66 69 6c 65 |UTOEXEC.BAT file| 00000640 20 74 6f 20 6b 65 65 70 20 61 20 70 65 72 6d 61 | to keep a perma| 00000650 6e 65 6e 74 20 72 65 63 6f 72 64 20 6f 66 20 77 |nent record of w| 00000660 68 65 6e 20 74 68 65 0d 0a 63 6f 6d 70 75 74 65 |hen the..compute| 00000670 72 20 69 73 20 75 73 65 64 2e 0d 0a 0d 0a 54 68 |r is used.....Th| 00000680 65 20 70 72 6f 67 72 61 6d 20 69 73 20 77 72 69 |e program is wri| 00000690 74 74 65 6e 20 69 6e 20 61 73 73 65 6d 62 6c 79 |tten in assembly| 000006a0 20 6c 61 6e 67 75 61 67 65 20 61 6e 64 20 69 73 | language and is| 000006b0 20 74 68 75 73 20 66 72 65 65 20 6f 66 20 61 6e | thus free of an| 000006c0 79 0d 0a 73 69 7a 65 20 6f 76 65 72 68 65 61 64 |y..size overhead| 000006d0 20 65 6e 63 6f 75 6e 74 65 72 65 64 20 77 69 74 | encountered wit| 000006e0 68 20 70 72 6f 67 72 61 6d 73 20 77 72 69 74 74 |h programs writt| 000006f0 65 6e 20 69 6e 20 68 69 67 68 20 6c 65 76 65 6c |en in high level| 00000700 0d 0a 6c 61 6e 67 75 61 67 65 73 2e 20 49 74 73 |..languages. Its| 00000710 20 73 6d 61 6c 6c 20 73 69 7a 65 20 61 6c 73 6f | small size also| 00000720 20 6d 65 61 6e 73 20 69 74 20 6c 6f 61 64 73 20 | means it loads | 00000730 61 6e 64 20 72 75 6e 73 20 76 65 72 79 20 71 75 |and runs very qu| 00000740 69 63 6b 6c 79 20 61 6e 64 0d 0a 74 68 65 72 65 |ickly and..there| 00000750 20 69 73 20 6e 6f 20 6e 6f 74 69 63 65 61 62 6c | is no noticeabl| 00000760 65 20 64 65 6c 61 79 20 77 68 65 6e 20 74 68 65 |e delay when the| 00000770 20 70 72 6f 67 72 61 6d 20 69 73 20 69 6e 63 6f | program is inco| 00000780 72 70 6f 72 61 74 65 64 20 69 6e 74 6f 0d 0a 62 |rporated into..b| 00000790 61 74 63 68 20 66 69 6c 65 73 2e 0d 0a 0d 0a 49 |atch files.....I| 000007a0 66 20 74 68 65 20 70 72 6f 67 72 61 6d 20 63 61 |f the program ca| 000007b0 6e 20 6e 6f 74 20 63 6f 6d 70 6c 65 74 65 20 74 |n not complete t| 000007c0 68 65 20 74 61 73 6b 20 69 74 20 73 65 74 73 20 |he task it sets | 000007d0 6f 75 74 20 74 6f 20 64 6f 2c 20 41 63 74 69 6c |out to do, Actil| 000007e0 6f 67 0d 0a 72 65 74 75 72 6e 20 61 20 76 61 6c |og..return a val| 000007f0 75 65 20 69 6e 20 45 52 52 4f 52 4c 45 56 45 4c |ue in ERRORLEVEL| 00000800 20 77 68 69 63 68 20 63 61 6e 20 62 65 20 61 6e | which can be an| 00000810 61 6c 79 73 65 64 20 62 79 20 74 68 65 20 62 61 |alysed by the ba| 00000820 74 63 68 0d 0a 72 6f 75 74 69 6e 65 2e 20 20 53 |tch..routine. S| 00000830 75 63 63 65 73 73 66 75 6c 20 63 6f 6d 70 6c 65 |uccessful comple| 00000840 74 69 6f 6e 20 72 65 74 75 72 6e 73 20 45 52 52 |tion returns ERR| 00000850 4f 52 4c 45 56 45 4c 3d 30 2e 0d 0a 0d 0a 0d 0a |ORLEVEL=0.......| 00000860 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a |................| 00000870 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a |..........| 0000087a