I need to delete files older than a week.
The files naming convention is ccyyMMMdd ex 2008Aug25.xml.
I need to do this in a batch file but have no idee how to structure the delete command. Del *.xml will delete all files.
Any help?
Search found 1 match
- 27 Aug 2008 01:36
- Forum: DOS Batch Forum
- Topic: dynamic build file name with date
- Replies: 0
- Views: 7617