Mac OS X
New in version: 4.0 4.1 4.2 4.3 4.4 5.0 5.1 5.2 5.3 5.4 6.0 6.1 6.2 6.3 6.4 6.5 7.0 7.1 Statistic
Queries list of file names in folder.
|Path||Native path to the directory.||"C:\Test"|
Optional, limits what is returned. Default is 0 to report all files. Pass a combination of 1 for showing only files, 2 for showing only directories and 4 for showing only visible items.
Optional, a filter for getting only files with matching file extension.
Returns list of files separated by return.
DescriptionQueries list of file names in folder.
The list of names is separated by new line character.
This function needs a native path. Please use Path.FileMakerPathToNativePath function in order to convert a FileMaker style path to a native path.
With filter parameter being 8 on Windows, you can pass a path with wildcards directly and ExtensionFilter parameter is ignored. This is not supported on Mac OS X.
See also Files.ListRecursive.
Queries files in Users folder on Mac:
Queries visible files in windows folder:
Queries DLL files in windows folder:
Queries Applications with name starting with e in windows folder:
Find FileMaker databases in a folder:
Feedback: Report problem or ask question.