Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 9.5   10.0   10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2    Statistic    FMM    Blog  

Files.FileKind

Queries the file kind string.

Component Version macOS Windows Linux Server iOS SDK
Files 2.9 ✅ Yes ✅ Yes ❌ No ✅ Yes, on macOS and Windows ❌ No
MBS( "Files.FileKind"; Path )   More

Parameters

Parameter Description Example
Path Native path to the file to check. "C:\test\me.jpg"

Result

Returns file kind text or error.

Description

Queries the file kind string.
This is the file type displayed by the Finder or Explorer. Like "FileMaker Pro Database" for a .fp7 file. This string can be localized to the current language of the user.
On server always English as that is the locale used by default.

Examples

Queries file kind of a file

MBS( "Files.FileKind"; "C:\test.txt" )

See also

Example Databases

Blog Entries

FileMaker Magazin

Created 18th August 2014, last changed 24th June 2020


Files.FileInfo - Files.FileName

Feedback: Report problem or ask question.