How to compare two folders that has names as the date. in batch file -
i have made backup folder per date on backup taken. want delete backup more 20 days old. don't know how initiate ? please guide using batch programming
to delete files older 20 days can this
forfiles -p "c:\yourbackupfolder" -s -m *.* -d 20 -c "cmd /c del @file"
Comments
Post a Comment