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 -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -