Trying to delete files in directories named "archive". I have not been able to figure out how to do this without specifcally entering every directory. There are other directories under the serial number (12345) directory.
Example entries are: .\customer\12345\archive .\customer2\54321\archive
forfiles /p "." /s /m "*.zip" /d -90 -c "cmd /c del @path"
I've looked https://serverfault.com/questions/49614/delete-files-older-than-x-days , https://stackoverflow.com/questions/9746778/ms-dos-batch-delete-old-files-in-directory/9747065#9747065 and https://stackoverflow.com/questions/324267/batch-file-to-delete-files-older-than-a-specified-date/1180746#1180746 to no avail
TIA