i'm strugling to create a Batch file sript to: - delete files - 'older than N days' - 'of specific filetypes' - 'contain specific words in filename'
For examle i want to delete files from path "c:\test" - older than 30 days - that are type of ".dmp" and ".log" - and they contain the words "aaa" or "bbb" in the filename.
I've tried some variation of this link but didn't succeed.