A Larter ([EMAIL PROTECTED]; Friday, August 02, 2002 8:58 AM):

>> You can use %Y and %m in the LOGFILE command to specify log files from
> the current month. Otherwise you can specify
>> log files on the command line using some shell script or batch file
> that may give you more control.

> That was what I was thinking of - I'm running first the dns lookup, then
> analog, then reportmagic, all lumped into a windows batch file. But of
> course I'd have to know the current date in the batch file in order to
> pass it to the analog config file, and I haven't found a system variable
> that contains the date in DOS. 

If you look in the list archives, there is a way to do this under
windows and it's shown in there somewhere. Probably a couple years
ago. Alternately, you can install cygwin and use the Unix data command
on your windows system (http://www.cygwin.com/).


> And this is rather a long-winded way of doing it, too. However, if it's
> the only one, so be it :)

It may seem like it, but from a Unix-background, that's the way things
are done. Lots of small, well defined utilities that each connect to
the next. Rather than having every utility know how to handle dates.


-- 

Jeremy Wadsack
Wadsack-Allen Digital Group

+------------------------------------------------------------------------
|  This is the analog-help mailing list. To unsubscribe from this
|  mailing list, go to
|    http://lists.isite.net/listgate/analog-help/unsubscribe.html
|
|  List archives are available at
|    http://www.mail-archive.com/analog-help@lists.isite.net/
|    http://lists.isite.net/listgate/analog-help/archives/
|    http://www.tallylist.com/archives/index.cfm/mlist.7
+------------------------------------------------------------------------

Reply via email to