DirectoryEntryType()

Syntax

Result = DirectoryEntryType(#Directory)
Description
Returns the type of the current entry in the directory being listed with ExamineDirectory() and NextDirectoryEntry() functions.

Parameters

#Directory The directory examined with ExamineDirectory().

Return value

Returns one of the following values:
  #PB_DirectoryEntry_File     : This entry is a file.
  #PB_DirectoryEntry_Directory: This entry is a directory.

See Also

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

Supported OS

All

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