I need a batch file that will delete all files in a folder keeping the 4 most recent ones. I make automatic backups using the W7 scheduler. I wish to be able to delete all the files keeping only the most recent ones.
I can do this with folders and have tried to edit that file for files. Not succeeding.
William Lockie
Figured it out. William Lockie
Yes (14) | ![]() | |
No (14) | ![]() | |
I don't know (15) | ![]() |