toffeemilkshake October 14, 2011 at 03:03:10 Specs: Windows 7, XeonQuad3.2GHz / 8GB
I have a folder in which new files are created each day. These files are kept for 60 days and then deleted. There is also a file created in the same folder on a monthly basis. This is much larger in size than the files that are created each day.
I want to create a batch file that will allow me to copy the daily created files to an external drive, and that will also delete any files on the external drive that are older than 60 days. I need an exception by filesize within the batch file to prevent the monthly file from being copied to the external drive.
The information on Computing.Net is the opinions of its users. Such
opinions may not be accurate and they are to be used at your own risk.
Computing.Net cannot verify the validity of the statements made on this
site. Computing.Net and Purch hereby disclaim all responsibility
and liability for the content of Computing.Net and its accuracy.