How can I quickly enumerate directories on Win32?

Posted by BillyONeal on Stack Overflow See other posts from Stack Overflow or by BillyONeal
Published on 2010-03-24T21:51:08Z Indexed on 2010/03/24 22:03 UTC
Read the original article Hit count: 388

Filed under:
|

Hello everyone :)

I'm trying to speedup directory enumeration in C++, where I'm recursing into subdirectories. I currently have an app which spends 95% of it's time in FindFirst/FindNextFile APIs, and it takes several minutes to enumerate all the files on a given volume. I know it's possible to do this faster because there is an app that does: Everything. It enumerates my entire drive in seconds.

How might I accomplish something like this?

© Stack Overflow or respective owner

Related posts about c++

Related posts about winapi