>>
>>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>.
This number of files might turn up in a database that includes images, for example. At least with DBF files, it is better to have the images in separate files, than to include them in General fields.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)