How do I do a recursive search using FindFirst\FindNext ? I have a simple program to search into a specified directory but it doesn't search the subdirectories ? How do i do this ? Thank you !
Posted on 2001-03-08 11:13:00 by Jp
Do a search on this board for findfirst in the general section and follow the thread "Some pro task". You will find some working code and some optimizations. This message was edited by anon, on 3/8/2001 12:56:15 PM
Posted on 2001-03-08 12:53:00 by anon
Go to my webpage: and look for the file called tree32.asm - it used a recursive algorithm that you maybe after. Good Luck,John
Posted on 2001-03-08 20:05:00 by mega
The API's FindFirstFile & FindNextFile return all the files in the current directory, as well as all the directorys, you can tell the difference by if the Directory attribute is set in the attribute member of the WIN32_FIND_FIRST or whatever its called struct
Posted on 2001-03-09 04:49:00 by George