home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
392.lha
/
tlog_v1.432A
/
Read.Me
< prev
next >
Wrap
Text File
|
1990-07-03
|
2KB
|
59 lines
TLOG V1.432A By Derec Butler
T-LOG Is A Short <Around 17k> Hard Drive Logging program. This was made
to keep track on when your machine is turned on or reset <Must have an
autobooting hard drive or else this program is a bit pointless... Well it
will work on a floppy but it is more useful on a hard drive... but it can be
used to keep track of how many times a specfic disk is used>
All this program does when it's executed is append to a file called
etc.log With the current time and date. You must supply a pathname
or volume for the file "Etc.log" I.E. tlog df1: OR tlog dh0/SYSTEM/SYSTEM
you will have to find your own way of reading the file... I suggest just
typing in a shell window or create a batch file to read it. You could
also just add an icon and execute the reading batch file with iconx IF you
don't like cli <Although it is so much easier on a hard drive>
To use the program just copy it To your C directory and add a line to your
startup-sequence place the command after it reads in the time <setclock>
tlog <Pathname> and that's it...
For People Not Handy With CLI:
And Example Using The Original Startup-Sequence File From Workbench
c:SetPatch >NIL: r ;patch SYSTEM functions
Addbuffers df0: 10
cd c:
echo "Amiga Workbench Disk. Release 1.3.1 version 34.25"
Sys:SYSTEM/FastMemFirst ; move C00000 memory TO last in list
BindDrivers
SetClock load ;load SYSTEM time from real time clock (A1000 owners should
;replace the SetClock load with Date
tlog dh0:system
FF >NIL: -0 ;speed up Text
resident CLI L:Shell-Seg SYSTEM pure add; activate Shell
resident c:Execute pure
mount newcon:
;
failat 11
RUN execute s:StartupII ;This lets resident be used FOR rest of script
WAIT >NIL: 5 mins ;WAIT FOR StartupII TO complete (will signal when done)
;
SYS:SYSTEM/SetMap usa1 ;Activate the ()/* ON keypad
path ram: c: sys:utilities sys:SYSTEM s: sys:prefs add ;set path FOR Workbench
LoadWB delay ;WAIT FOR inhibit TO END before continuing
endcli >NIL:
Place the command Tlog [Pathname] After Setclock as in the above example
as for reading the file I will let you sort that out for yourself Since
there are many ways to do it and I'm probally going overboard.
-Derec Butler
"Is There A Doctor In The Fish???"