Unless the files have something sequential in the names (like 001.txt, 002.txt, etc.) you can't really. You could have data or a constant with the names, but you wouldn't gain much by doing it a loop. (If you can generate the names, just generate the name based on a loop counter, open the file, loop.)
No comments:
Post a Comment