PDA

Click to See Complete Forum and Search --> : Get every file name


Khavoerm
Mar 3rd, 2002, 01:21 PM
Hello,
I would like to get the name and the path of every files of a folder (and subs folder) but I've got no idea on how to do it. Would someone have code that do this he could send me?

Thanks

CornedBee
Mar 4th, 2002, 08:56 AM
Use the functions
FindFirstFile, FindNextFile, FindClose etc.
Search the results for files with the property FILE_ATTRIBUTE_DIRECTORY and use their names for searching subdirectories.