Jeremy Wadsack <[EMAIL PROTECTED]> wrote: > However, in both places, if you are on a unix system, you can use the > 'date' command to insert the value you want to use. e.g. > > analog -Oreport_`date +%Y-%m`.dat > > rmagic.pl --statitics_File_In=report`date +%Y-m`.dat > > On windows you can do this too with for and set or something. Check in > the list archives for this. I never remember how to do it.
These messages outline how to calculate date strings in NT and Win2K (and XP, I think). http://www.mail-archive.com/[EMAIL PROTECTED]/msg06596.html http://www.mail-archive.com/[EMAIL PROTECTED]/msg11943.html Aengus +------------------------------------------------------------------------ | TO UNSUBSCRIBE from this list: | http://lists.isite.net/listgate/analog-help/unsubscribe.html | | Digest version: http://lists.isite.net/listgate/analog-help-digest/ | Usenet version: news://news.gmane.org/gmane.comp.web.analog.general | List archives: http://www.analog.cx/docs/mailing.html#listarchives +------------------------------------------------------------------------