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

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -