Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 8.0   8.1   8.2   8.3   8.4   8.5   9.0   9.1   9.2   9.3    Statistic  


Queries the file kind string.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Files 2.9 Yes Yes Yes No No
MBS( "Files.FileKind"; Path )   More


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


Returns file kind text or error.


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.


Queries file kind of a file

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

See also

Example Databases

Blog Entries

Created 18th August 2014, last changed 25th February 2017

Files.FileInfo   -   Files.FileName

Feedback: Report problem or ask question.

MBS FileMaker blog