>>
>> nNumFiles = adir(arFileList,'e:\src\projects\t1\*.*')
>>
>>
>>It works fine, but I can't hardcode my paths. Help?
>
>Is it possible that the array element has not been alltrimed. I attempted similar code and it worked fine.
>
>
>DIMENSION aFileDir[1]
>aFileDir[1] = "c:\temp"
>?ADIR( aFileList, aFileDir[1] + "*.*" )
>
>
>Returns 10 on my machine.
Yes, it was an alltrim adir thing. I told you my code was stinky. :)