ONLINE HELP WINDEV, WEBDEV AND WINDEV MOBILE
Name of file (with its extension) or directory found. Empty string ("") otherwise. To determine if this function has generated an error, use ErrorInfo with the errMessage constant.
Name and full (or relative) path of the sought file or directory (up to 260 characters). A UNC path can be used. You have the ability to use wildcard characters (*,?) in the name of the file.If this parameter is empty, the function continues and searches for the name of the next corresponding file (or directory): this allows you to list the files or directories belonging to a given directory.If this parameter corresponds to a directory name, this name may (or may not) end with "\". This parameter can be in Ansi or Unicode format. This parameter can correspond to a full path or a path relative to the current directory (returned by fCurrentDir). This parameter is case-sensitive. Reminder: In Android, the file system is read-only on the device and on the emulator. An application can only write to its setup directory or one of its subdirectories, as well as to the external memory (SDCard). If "*.*" is used, only files with an extension will be searched. This parameter can correspond to a full path or a path relative to the current directory (returned by fCurrentDir). This parameter is case-sensitive. Reminder: On iPhone/iPad, an application has the rights to write into its setup directory or into one of its subdirectories.
Search options:fPathUNICODE<Result> will be a Unicode string.This constant can be combined with frFile or frDirectory.frDirectoryFind a directory.frFile (Default value)Find a file.
Caution: fDir keeps access to the directory
Looping through directories
Using fDir in threads
Last update: 05/26/2022
Send a report | Local help
I accept the terms of the license agreement
All you have to do is configure your product as follows: