** Normal files are always included in the search, unless you specify V.

This is the Returned SubArray Structure:
Position...Metasymbol.....Directry.ch
1.............cName..............F_NAME
2.............cSize................F_SIZE
3.............dDate..............F_DATE
4.............cTime...............F_TIME
5.............cAttributes.......F_ATTR

If no files are found matching <cDirSpec> or if <cDirSpec> is an illegalpath
or file specification, DIRECTORY() returns an empty ({}) array.

If C:\MyFiles it's not an illegall path .AND. if C:\MyFiles it's not a EMPTY FOLDER,aFiles will be an Array of of subarrays, which each subarray contains:
NAME, SIZE, DATE, TIME and FILE ATTRIBUTES of each file found matching your criteria.

I use this function to retrieve files (*.*) in folders and works fine for me...

Regards,

Salamandra

There is one time in which is crucial awakening. That time is now. ( Buddha )