Windows batch file 7 zip archive files using date range

7-zipbackuptimestampwindows

I am currently running a batch file that backs up all my files created or modified within the past 24 hours using an old version of Winzip. I use 7 zip for a lot of archiving and would like to be able to use it for this purpose but it does not have switches that let you select files based on their date/time stamp. I do NOT want to copy files to a directory based on their time stamp and archive them form there. Any suggestions?

Best Answer

http://ss64.com/nt/forfiles.html

and

http://www.dotnetperls.com/7-zip-examples ->

 forfiles  /c "7za a -t7z @fname.7z @file" /d -1
Related Question