>>>
>>>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.
I thought these must be some kind of images or picture files.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham