FILEFIND.IS_DIRECTORY Function
Syntax
Flag as L = fileFindObj.Is_Directory()
Returns
- FlagLogical
Returns .t. if the file is a directory. Otherwise .f..
Description
Return TRUE if the current file is a directory.
Discussion
The .IS_DIRECTORY() method returns .T. if the file is a directory.
Example
dirs = FILEFIND.First("C:\aa\example\example.WebProjects\UX Controls.WebProject\*") ? dirs.name() = "C:\aa\example\example.WebProjects\UX Controls.WebProject\." ? dirs.is_directory() = .T.
See Also