Serge,
This is what I use and adapt for each given purpose
//START
REM It will appends the log files with the date and time it was rotated on
FOR /f "tokens=1-3 delims=: " %%a in ('TIME/T') do SET ftime=%%a.%%b.%%c
FOR /f "tokens=2-4 delims=/ " %%a in ('DATE/T') do SET curdate=%%a.%%b.%%c
copy index.log index.%curdate%.%ftime%
Quoting serge <[EMAIL PROTECTED]>:
> someone posted a batch file to split large logs by automaticaly renaiming
> every hour,
> anyone has a link ?
> i do not need the .exe file, but the .bat so it can be custimized for logs
> other than declude ?
>
> ---
> [This E-mail was scanned for viruses by Declude Virus
> (http://www.declude.com)]
>
> ---
> This E-mail came from the Declude.JunkMail mailing list. To
> unsubscribe, just send an E-mail to [EMAIL PROTECTED], and
> type "unsubscribe Declude.JunkMail". The archives can be found
> at http://www.mail-archive.com.
>
-----------------------------------------------------
Check out http://www.invariantsystems.com for utilities for Declude and Imail.
---
[This E-mail was scanned for viruses by Declude Virus (http://www.declude.com)]
---
This E-mail came from the Declude.JunkMail mailing list. To
unsubscribe, just send an E-mail to [EMAIL PROTECTED], and
type "unsubscribe Declude.JunkMail". The archives can be found
at http://www.mail-archive.com.