Code: Select all
@ECHO OFF
echo d|XCOPY C:\DOCUME~1\Cozed\MYDOCU~1\* E:\Daily\%date:~4,2%_%date:~7,2%_%date:~10,4%_Data /y /s /v
echo d|XCOPY C:\DOCUME~1\Cozed\applic~1\thunde~1\* E:\Daily\%date:~4,2%_%date:~7,2%_%date:~10,4%_Email /y /s /v
So I want to add this function to this script of deleting the oldest backup directory on the external when it is full. This would be the E: drive (attached external hdd)Help?