I got the help needed to do this. Thanks! This is what I did.
[codebox]
for /f "tokens=1,2" %%u in ('date /t') do set d=%%v
echo %d%
set datestr=%d:~0,2%%d:~3,2%%d:~8,2%
echo %datestr%
[codebox]
Then I used XCOPY.
XCOPY "c:\fldr\*.*" "C:\%datestr%\*.*"
----- Original Message -----
From: "Martin O'Shea" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Friday, August 24, 2007 10:40 AM
Subject: [analog-help] Date ranges
Hello
I want to use Analog to process a range of dates where there is one log
file
for each date.
The only way I can see to do this at at moment is to write each log file
name
to analog.cfg like this:
LOGFILE "C:\Program Files\Analog\analog 6.0
\Monolith2Test\monolith2_access_log.2007-08-08.txt"
LOGFILE "C:\Program Files\Analog\analog 6.0
\Monolith2Test\monolith2_access_log.2007-08-09.txt"
If i try using FROM and TO like:
LOGFILE "C:\Program Files\Analog\analog 6.0
\Monolith2Test\monolith2_access_log.*"
FROM 070808
TO 080809
Analog starts at the FROM date but goes past the TO DATE.
Any ideas as I would like to avoid the first approach as it may include up
to a year's worth of log files?
By the way, is there a limit on the number of files Analog can include in
one go?
Thanks
Martin O'Shea.
+------------------------------------------------------------------------
| TO UNSUBSCRIBE from this list:
| http://lists.meer.net/mailman/listinfo/analog-help
|
| Analog Documentation: http://analog.cx/docs/Readme.html
| List archives: http://www.analog.cx/docs/mailing.html#listarchives
| Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
+------------------------------------------------------------------------
+------------------------------------------------------------------------
| TO UNSUBSCRIBE from this list:
| http://lists.meer.net/mailman/listinfo/analog-help
|
| Analog Documentation: http://analog.cx/docs/Readme.html
| List archives: http://www.analog.cx/docs/mailing.html#listarchives
| Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
+------------------------------------------------------------------------