Page 1 of 1

Periodic elimination

Posted: 14 May 2021, 07:56
by Carlox
Cordial Greetings to All. I am new and I am trying to make a script that periodically deletes certain files but saves me some. These files will have different names because they include the date in them. It would be excellent if someone can help me, thank you very much in advance. : salute:

Re: Periodic elimination

Posted: 14 May 2021, 09:39
by boiler
The details depend on the specifics of your file names, but you would could probably handle it with the appropriate wildcards using Loop, Files. If you needed further filtering within that list for some reason, you could use RegExMatch or InStr.

Regarding the periodic part, you can set the routine to operate on a periodic basis using SetTimer.