AmazingTech
The problem with this is your Today variable will not remain consistent. Dealing with dates via batch are a nightmare because there is not a true built-in feature to manipulate the format or output. Once the day is a single digit the output will not be correct, as it will include the / either in the month when it is 1-9, or the day when it is 1-9. Using the FORFILES to test the actual file creation date is solid as this will correctly determine the date of the file, and this is built in to the system. There are of course other utilities, or even vbscript that could accomplish this, but given that FOREFILES will do this in a one liner the extra confusion of dealing with formatting a date to match is not needed.