I have created a batch file to backup data to cd on my windows XP machine. It has worked successfully for the past two years, but the programmer of one of the programs (located in the P:\ directory) has changed the internal backup event to create multiple daily backups. This now creates too many files (size) to fit on the cd. I have tried to append my batch to select only files modified today or in the past 2 days, but to no avail. Any help is appreciated.
@ECHO OFF
:START
XCOPY P:\*.* “C:\Documents and Settings\trevord\Local Settings\Application Data\Microsoft\CD Burning” /-Y /H /D /E
COPY F:\datafuel\BACK_U~1\Server\DFDBBA~1.MDB “C:\Documents and Settings\trevord\Local Settings\Application Data\Microsoft\CD Burning” /-Y
COPY F:\works\FLEETM~1\FLEETD~1.MDB “C:\Documents and Settings\trevord\Local Settings\Application Data\Microsoft\CD Burning” /-Y