>Hi
>Am doing an Adir of a folder (As in X=Adir(MyArray,"MyFolder\*.*") and am getting an : Invalid Subscript Range
>I can Adir other folders fine but this one has 30,000 files in it and it looks like there may be a limit (VFP8)
>Unfortunately, I don't have control over the files in the folder and also they are all similar and I need to do some post processing on them so need to loop down one by one
>
>Anybody know first of all if there is a limit, and if so, any other ways of getting files in a folder and looping through each one
>
>Tia
>Gerard
http://doughennig.com/papers/Pub/NewLanguageVFP9.pdf