Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

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

This function checks for a license.

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


Files.FileInfo - Files.FileName