Could you please suggest me on how to zip file under folder in it's sub folder and rename the file with it's created date using batch script then delete the original one. It should be able to make the number of day to archive configurable. For instance if i want to archive any files older than 7 days, it should zip up the file older than 7 days. And also make delete file configurable as well.
For instance, file is abc.log created on 9/14/2016 it will be zip and rename as abc.20160914.zip
I search through forum but not found. Really appreciate for your help.