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

Popular posts from this blog

authentication - Mongodb revoke acccess to connect test database -

r - Update two sets of radiobuttons reactively - shiny -

ios - Realm over CoreData should I use NSFetchedResultController or a Dictionary? -