I'm using SendEmail and windows task scheduler to setup email automation. It works great but I need some custom scripting help. I need to have an email sent daily based on the date. For example I have a file called ETM08-13 and then next month I will have a ETM09-13 etc. I need the script to send the file that corresponds to the current month. I know the changes need to be in the -a parameter. Here is a basic example:
I've contacted the creator of SendMail about this issue and he gave me the linux scrip to do this:
-a filename-`date +%Y-%m-%d`.tar.gz
Any help converting this to a windows script?