ArcBasicDocs

NextFile

Next entry in a folder listing ("" when done).

NextFile ( dir )

Parameters

dir
the listing's handle, from ReadDir.

Description

Gives back the next name in a folder listing, or an empty string when there are no more. Use FileType to tell files and folders apart.

See also