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: 7.1   7.2   7.3   7.4   7.5   8.0   8.1   8.2   8.3   8.4    Statistic  

Files.FileKind

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 )

Parameters

Parameter Description Example value
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.

Examples

Queries file kind of a file

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

See also

Example Databases

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


Files.FileInfo   -   Files.FileName

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins