I wrote a little utility that I run from scheduler. It's in VisualBasic and
simple get's today's system date and shells to the batch file and run's
whatever I want it to. It would be pretty easy to modify. Do you write VB
Code?
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of John Carter
Sent: Tuesday, July 31, 2001 9:05 AM
To: IMail_Forum
Subject: [IMail Forum] Incrementing batch command
Before I re-invent the wheel, I would like to know how others handle the
changing of a command line argument within a batch file so it can run
each day without manual editing. Huh, what did he say?
Situation: Scott's DOMLIST program (others as well) uses an argument of
the log file name. I would like to schedule a batch file to run each day
and email me the results. Each day the argument would change. Example:
today domlist.exe sys0731.txt; tomorrow domlist.exe sys0801.txt.
Obviously the only thing that changes is the MMDD in the middle of the
file name. Has anyone developed a method of handling this? Thanks.
John
Please visit http://www.ipswitch.com/support/mailing-lists.html
to be removed from this list.
An Archive of this list is available at:
http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
Please visit http://www.ipswitch.com/support/mailing-lists.html
to be removed from this list.
An Archive of this list is available at:
http://www.mail-archive.com/imail_forum%40list.ipswitch.com/