NextDirectoryEntry()

Syntax

Result = NextDirectoryEntry(#Directory)
Description
This command must be called after an ExamineDirectory(). It will go step by step into the #Directory and list its contents.

The entry name can be get with the DirectoryEntryName() command. If you want to know whether an entry is a sub-directory or a file, just use the DirectoryEntryType() command.

If no more entries are available in the directory, 'Result' will be 0, else it will be non null.

Supported OS

All

<- IsDirectory() - FileSystem Index - RenameFile() ->