|I have been using a batch file to delete .zip files in a directory that are older than 2 days old. It has been working very well. However, I would like to modify it so it will delete files older than 5 days old. I really don't understand what this batch file is saying, all I know is that it is working. Could someone help me read this batch file and change it to delete files older than 5 days?|
for /f "tokens=* delims=*" %%v in ('dir /tw /o-d /b /s C:\DBBackup\*Backup.zip') do (
if !ftsw!==N del "%%v"
call set ftsw=N