DirectoryEntryName()

Syntax

Filename$ = DirectoryEntryName(#Directory)
Description
Returns the name of the current entry in the directory being listed with ExamineDirectory() and NextDirectoryEntry() functions.

Parameters

#Directory The directory examined with ExamineDirectory().

Return value

Returns the name of the current directory entry.

Remarks

The pseudo-directories "." and ".." can be returned in a directory enumeration, so they have to be filtered if they should not be included in the program output.

See Also

ExamineDirectory(), NextDirectoryEntry(), DirectoryEntryType(), DirectoryEntrySize(), DirectoryEntryAttributes(), DirectoryEntryDate()

Supported OS

All

<- DirectoryEntryDate() - FileSystem Index - DirectoryEntrySize() ->