Example 2: List All Files within a Directory Including Subdirectories It does not really list all files within a Directory including sub-directories... It only list the files that has the same Extension as the 2nd parameter being passed to the macro. In addition, it determines a file by checking if the file name has a dot, if it does not have a dot, then it's considered as a directory, but a file's name does not have to contain a dot, it may be a better option to use dopen() to determine a directory by checking if an Directory ID (did) is returned, as it's already using this to determine if the parent level directory can be opened before getting the childen. Ray
... View more