mkdir c:\archive
xcopy c:\test c:\archive /d:10-26-09
compact /c c:\archive
This works but I need to know how to get it to look for files older then two days. Cause the teacher wants it to be able to just grab anything older then 2 days without having to change the date everytime. Also this just compresses the folder. I need to know how it zips the files that are placed into the folder. Can someone please help me?