Hello,
I have a folder (let's say E:\Test ) that contains files created daily that have the name yyyy-mm-dd_test.xlsx
I have another excel on a different folder that gathers the info on the files from E:\Test, putting it into tables.
The problem is, I need to delete the files in E:\Test that are older than 30 days, but I need to do it based of the name of the file, not the creation/modification date. I have no ideia how to do this and I've circled around a couple of threads but haven't found a working solution for me yet.
Thank you in advance for the help.
I have a folder (let's say E:\Test ) that contains files created daily that have the name yyyy-mm-dd_test.xlsx
I have another excel on a different folder that gathers the info on the files from E:\Test, putting it into tables.
The problem is, I need to delete the files in E:\Test that are older than 30 days, but I need to do it based of the name of the file, not the creation/modification date. I have no ideia how to do this and I've circled around a couple of threads but haven't found a working solution for me yet.
Thank you in advance for the help.