in reply to Re: Why can't I readdir multiple times in a while loop?
in thread Why can't I readdir multiple times in a while loop?
Should have been MYDIR all the way through. Dain bramage in my transposition (didn't feel like cut n paste).
I tried the rewinddir, but at the next readdir it gave me the names of the files that used to be in the directory, but had been deleted in the previous pass through the loop.