dynamic build file name with date

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
JustForFun
Posts: 1
Joined: 27 Aug 2008 01:29

dynamic build file name with date

#1 Post by JustForFun » 27 Aug 2008 01:36

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?

Post Reply