I can't find the difference between opendir and readdir, and just using chdir and doing a foreach loopTry using a while loop with readdir.
Update: I may have misread. I thought you were saying you used a foreach with readdir. See opendir slower than ls on large dirs?.
In reply to Re: Fast file and directory operations
by Roy Johnson
in thread Fast file and directory operations
by SkullOne
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |