In Delphi 2007 how can I make a program to read the first file and then close it to read the second one and so on until the last file?
Delphi: How to process multiple files
delphidelphi-2007
delphidelphi-2007
In Delphi 2007 how can I make a program to read the first file and then close it to read the second one and so on until the last file?
Best Answer
Are you trying to read every file in a directory? Try this class. This isn't my original code but I've modified and customized it a bit. It'll give you all the filenames that match criteria you set in a string list that you can pass to TFilestream.