|
Answer» 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?Oh and by the way. The folder that the files are in is c:\test and the batch file has to MAKE the folder c:\Archive and take the files older then 2 days from the folder c:\Test and zip them and move them to newly made folder c:\Archive. So please help me get this. Cause I been having serious issues.
|