FileFind Methods
Description
Methods available for a FileFind object.
Methods
- FILEFIND.CREATION_TIME Method
The .CREATION_TIME() method returns the time the file was created.
- FILEFIND.EOF Method
Returns TRUE if the last operation read past end.
- FILEFIND.FIRST Method
Find first file, returns a new FileFind object pointer to the file(s).
- FILEFIND.GET Method
Returns a string containing all the files - you can specify what gets listed.
- FILEFIND.GET_RECURSE Method
wrapper for FILEFIND.get() that recursively finds all files in pattern. Path is the starting path.
- FILEFIND.GREP Method
Returns a string containing all the files - you can specify what greps listed.
- FILEFIND.GREP_RECURSE Method
Same as grep() but recurses subdirectories.
- FILEFIND.IS_ARCHIVE Method
The .IS_ARCHIVE() method returns .T. if the file is an archive file.
- FILEFIND.IS_DIRECTORY Method
Return TRUE if the current file is a directory.
- FILEFIND.IS_HIDDEN Method
The .IS_HIDDEN() method returns .T. if the file is hidden.
- FILEFIND.IS_SYSTEM Method
The .IS_SYSTEM() method returns .T. if the file is a system file.
- FILEFIND.LAST_ACCESS_TIME Method
The .LAST_ACCESS_TIME() method returns the time the file was last accessed.
- FILEFIND.LAST_WRITE_TIME Method
The .LAST_WRITE_TIME() method returns the time the file was last written to.
- FILEFIND.LIST_NEW_FILES Method
Scan folders and sub-folders for all files updated after date/time specified by datestring and timestring. If datestring and timestring are not specified, then files modified today are returned.
- FILEFIND.NAME Method
The .NAME() method returns the Filename of the current file in the list of files referenced by the object pointer.
- FILEFIND.NEXT Method
The .NEXT() method moves to the next file in the list of files referenced by the object pointer. The method returns .T. (TRUE) if there is another entry in the list; otherwise, it returns .F. (FALSE).