Well, you have ADIR() and with that can programmatically determine all files in a directory you pick with one GETDIR() call, or even make that directory part of a configuration you only need to specify once, that's so simple, that's why you only got the part of the problem to append files discussed. Then ask a seperate question about how to best pick multiple files.
Append from filename SDF appends to a DBF or cursor, that was not in your specification. That also only works good with identical file types with identical columns, we also didn't know about that, though that was a guess I made anyway, but it could also be you wanted to append many gz files to a tar.
If in the end you pull together all data into a DBF, what also could be reconsidered is generating all these seperate files, why isn't there a table to be filled in the first place? You cannot only fill a DBF, but also a CSV file via ODBC or file operations from other languages and append to a file instead of generating a huge amount of files.
Bye, Olaf.