The ADIR function cannot handle more than 13,000 files because of limited size of VFP array (65,000 item). You can use SYS(2000) to process files one by one.
>Hello people,
>I have had a problem with Adir(). I am trying create a array with all files JPG in one diretory. This directory have 15383 images. Whem I create this array, fox give me this message: "Invalid Subscript reference".
>What I can do to read all files in this directory?
>
>Thanks!
>
>Rômulo
--sb--