Title: Message

Thanks I’ll look into that.

 

Is there any way to set up a schedule in windows to pass the date of the previous day to a batch file?

 

Giles Roadnight

http://giles.roadnight.name

 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Christopher G. Lewis
Sent: 24 January 2004 16:14
To: [EMAIL PROTECTED]
Subject: RE: [analog-help] Setting up automatic batch file

 

Giles -

 

  It's actually kind of hard to get analog to do this consistently.  Check out my Analog_Run VBS script to help with setting the date ranges dynamically.

 

Give a yell if you need any help with configuring the script

 

Chris

 

 

Christopher G. Lewis
Technical Consultant
HTTP://www.ChristopherLewis.com

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Giles Roadnight
Sent: Friday, January 23, 2004 4:50 PM
To: [EMAIL PROTECTED]
Subject: [analog-help] Setting up automatic batch file

Hello People

 

I hope you can help with this one.

 

I am trying to set up a batch file to run on the first of every month to compile the stats for the previous month. I know how to get analog to compile stats for the current month but not for the last month.

 

How do I subtract a month from the date in a batch file?

 

I could use IF statements to change the month to the previous month but this does not work for January and I don’t know how to subtract one from the year in this case.

 

I hope you can help

 

Thanks

 

Giles Roadnight

http://giles.roadnight.name

 

Reply via email to