Sorry if my last comment misled/mystified you. I'm subscribed to two
groups - C and DJGPP, which is a freeby 32-bit C compiler that works under
DOS. When I made my answer, it was under the impression that I was reading
the DJGPP group.
findfirst() and findnext() are not ANSI or POSIX compliant, but they are
pretty popular, and it is probable that your compiler will support them -
I'm not so sure about ftw(). In any event, I wrote a backup program that
backed up the directory pointed to and all its subdirectories (and deleted
files if they were more than a certain age, etc), and I used
findfirst()/findnext() without much trouble.
MikeC
"MikeC"
btconnect.com> wrote in message
news:9oKdncSmNJ8D7FXaRVnyhwA@bt.com...