I have a customer with a (much older) server with limited space and only .Net 1.1
I cannot update... yet there is a folder that receives SQL Data Base Backup files daily.
I need a DOS? script that
Looks in the backup folder
Finds the most recent file with the .BAK extension (Even if the most recent .bak file is 100 days old...)
And deletes any file older that 3 days from that file date and that .BAK extension