files

files(): FileNodeArray updating;

The files method of the FileFolder class returns a reference to an array of all files that are contained in the folder that match any of the values specified in the mask property. The order of files within the array depends on the operating system (for example, platform files are returned in alphabetic order), but the files are grouped according to the list of mask values, because a separate pass over the folder's files is required for each mask value.

Specifying "*.*" in the mask property results in all files and subfolders in the folder being returned.