>>
>>I just tried
>>?ADir(dummy,'mypath\*.*')
>>with a directory with more than 54000 files. Worked fine.
>
>PMFJI, and it is none of my business but I am wondering, what kind of 54000(!!) files do you have in this folder? <g>.
It's a collection of pictures from one of my suppliers. In our own system, we have these pictures divided into 100 subdirectories, for faster access. But for reference, I also keep the original files in their own subdirectory.