-
masterx
Question:
How do I programmatically all of the files in a directory that have a specific known extension.
I have tried FindFirstFile along with FindNextFile along with DeleteFile(), but am having a problem with the FindFirstFile function. I would prefer a solution that did not involve this function.
Thanks,
Austin
-
Re: masterx
You could use CListBox's Dir() method with "*.TXT" (or whatever extension) as the filespec, but this only lists files in 8.3 format (although for deleting, that shouldn't matter). But what difficulty are you having with FindFirstFile()?