--- In [email protected], Thomas Hruska <thru...@...> wrote:
>
> Gus Vincent Dato wrote:
> > hi guys,
> > 
> > is there a function/syntax like findfirstfile/findnextfile that i
can use to traverse/enumerate directories?
> > 
> Those functions traverse a single directory.  You can use 
> GetFileAttributes() to determine if each entry if a file or directory. 
> If it is a directory, you can recursively (or use a stack) call 
> FindFirstFile() again.

Is that C++? In C, there's opendir/readdir etc.
http://opengroup.org/onlinepubs/007908775/xsh/readdir.html

Reply via email to