Hi
I have a script the opens the backup log and exits with the sucess statement on line 5
; open log and readline until counter = 5 then exit
$count3 = 0
Open(3, "c:\scripts\logs\backup.log")
while $count3 <> 5
$date = ReadLine(3)
$count3 = $count3 + 1
loop
close(3)
? "Date: " $date
BUT, if the backup fails it writes an empty log with null data, this puts readline into a
spin, how can I detect the file has nill data? can kix work out its file size?
if $size < 4000 then backup has failed?

thanks
john@myplace.co.nz

------------------
------------------------
John Hornblow
Wellington New Zealand
johnhb@paradise.net.nz
------------------------