Ed's solution is probably the one I would go with, but you might also write out a "closed" file per log file.
If the log file is "abc123.log", then perhaps you could write out a "abc123.closed.txt" file when the log file is closed? -Kevin CULLY Technologies, LLC Sponsor of FoxForward 2007 foxforward.net Ed Leafe wrote: > You could try using FOPEN(). If the file is still being written, > FOPEN() will fail. _______________________________________________ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.