I want to read every 2 minutes all the files one by one from an example folder C: \ folder \ all those that have a txt extension. but I do not know the names of each file because they are random. after reading it would be convenient to eliminate them to avoid overload ..
Will someone have an idea of how it could be done?