Board index » delphi » How do I list files!

How do I list files!

I want to delete alle the files from a directory and I thought to use
funktion DeleteFiles(). But I need the filenames for it.
So the question is: How do I read in the filenames from a directory? it must
be a simple way to do that.
 

Re:How do I list files!


Martin,

Lookup FindFirst/FindNext and (for Windows only) FindClose in the
help. These are the traditional functions to use for directory
searching.

Andrue Cope
[Bicester, UK]

Other Threads