>ADIR()
Will work; the disadvantage is that it requires that you give it some flags to include directories, particularly if you need to include system and hidden folders; it returns an array, so that there is a finite upper limit to the number of entries at any level while there is no (realistic) limit to the number of items in an FSO collection. ADIR() runs faster than iterating the collections of an equivalent Folder object, and spinning through an array using a FOR...NEXT loop is much faster than iterating through a collection using FOR...EACH. ADIR() can use a wildcard to restrict which files are returned; the FSO Folder collections don't. OTOH, ADIR() doesn't reveal as much about the items in the array as the FSO File and Folder objects do, either.
It's a matter of what fits the requirements better.