On Friday, May 7, 2004 at 5:24:10 PM, you wrote:

> Hallo Admin,

> On Fri, 7 May 2004 13:21:52 +0100GMT (7-5-04, 14:21 +0200, where I
> live), you wrote:

AAA>> Anyone any ideas as to how to EASILY concatenate all "today's" log
AAA>> files?

> You could do that with a batch file. I did some testing and it worked
> all right (sort of).
> My batch file (called logall.bat) looks like this:

> @echo off
> g:
> cd\mail
> copy roelof\account.log+archief\account.log  all.log
sort all.log >> sort.log
> del roelof\account.log
> del archief\account.log
> del all.log

Thanks for that.

[By the way Adam (who replied with a batch file off list) I wanted to
try this one first because I understand it - I'll try yours if this
question can be answered:]

OK got that working - but I have a problem...

The Log file for each account is only identifiable by its filename -
so in the concatenated logfile I do indeed have a whole load of
'failed to connects' but unfortunately no way of knowing which account
it was.

So next mini-project for you whizzy people out there:

Add to the concatenated log file the filename of the source just
befire it copies that log file in. (Of course, Roelof, I would then
not be able to sort it but then....

Marten Gallagher

-- 
Annery Kiln Web Design
Delivering Information Effectively
www.annerykiln.co.uk
Web Design and Site Management
Web Hosting and Print Design

This e-mail is intended solely for the addressee and is strictly
confidential. If you are not the addressee, please do not read, print,
re-transmit, store or act in reliance on it or any attachments.
Instead please e-mail it back to the sender and delete the message
from your computer.

The system used to send this message is permanently checking for
viruses and malicious scripts. However, email transmission cannot 
be guaranteed to be secure or error free and annerykiln.co.uk accepts 
no liability for changes made to this e-mail (and any attachments) 
after it was sent or for viruses arising as a result of this 
e-mail transmission.

Any unauthorised reproduction, dissemination, copying, disclosure,
modification, distribution and/or publication of this e-mail message
is strictly prohibited.

mailto:[EMAIL PROTECTED]


________________________________________________
Current version is 2.10.03 | 'Using TBUDL' information:
http://www.silverstones.com/thebat/TBUDLInfo.html

Reply via email to