Greets,
While I am not sure if any of the new Shell API functions can handle
this type of request, I have taken the approach of using
FindFirstFile()/FindNextFile() looking for all files, checking to see if it
is a subdirectory and recursively calling again, otherwise, comparing the
filename to the file being sought. (Or a second
FindFirstFile()/FindNextFile() if a wildcard is being used.) The
optimization of this particular approach is up to the person that provides
the implementation. :)
Regards,
Joe
Quote:
> Hi,
> How do i do recursive directory search for a file?. Like looking for a
file
> in current driectory and under the C:\ subdirectories. How do i implement
> this in MFC, win.?. what is the best way?.
> J
> Sent via Deja.com http://www.deja.com/
> Before you buy.