This is what I had answered in another thread616-889024.
[tt]
You can use forfiles.exe from resource kits. Look at its help file or issue
forfiles -?
for syntax.
For instance, to [1] delete *.txt files [2] in certain path d:\test [3] including subdirectories for files [4] with date more than 30 days old from today, the line in the batch is something like this:
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.