Grab files without knowing the name.
Posted on 2002-06-12
I have an application that reads a simple flat file with a pre-determined name and processes the information. Now the customer needs the application to process multiple flat files. I will not know the names of the files. I will only know the folder location, where they reside, and can tell if I have the correct file by the first line of the file. Does anyone know how to sequentially grab/open files in a folder when the number of files in the folder and the names are not known.