Files.FileKind
--------------

Queries the file kind string.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Files](component_Files.md) | [2.9](newinversion29.md) | ✅ Yes | ✅ Yes | ❌ No | ✅ Yes, on macOS and Windows | ❌ No |

MBS( "Files.FileKind"; Path ) 

**MBS**( **"Files.FileKind";** /\* Queries the file kind string. \*/  
**$Path**) /\* Native path to the file to check.e.g. "C:\\test\\me.jpg" \*/ 

### 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

- [Files.FileInfo](FilesFileInfo.md)
- [Files.FileName](FilesFileName.md)
- [Files.FileSize](FilesFileSize.md)

### Example Databases

- [Files/File Listing With Icons](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Files/File%20Listing%20With%20Icons.shtml#1ScriptAnchor_)
- [Files/FileInfo](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Files/FileInfo.shtml#1ScriptAnchor_)

### Blog Entries

- [MBS Plugin Advent calendar: 12 - Files](https://www.mbsplugins.de/archive/2023-12-12/MBS_Plugin_Advent_calendar_12_/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin 4.3 for OS X/Windows - More than 2700 Functions In One Plugin](https://www.mbsplugins.de/archive/2014-09-16/MBS_FileMaker_Plugin_43_for_OS/monkeybreadsoftware_blog_filemaker)
- [MBS Filemaker Plugin, version 4.3pr5](https://www.mbsplugins.de/archive/2014-08-11/MBS_Filemaker_Plugin_version_4/monkeybreadsoftware_blog_filemaker)
- [MBS Filemaker Plugin, version 2.9pr3](https://www.mbsplugins.de/archive/2012-08-19/MBS_Filemaker_Plugin_version_2/monkeybreadsoftware_blog_filemaker)

### FileMaker Magazin

- [Ausgabe 4/2025, Seite 31 bis 32](https://filemaker-magazin.de/neuigkeit/4297-Appetithappen-FMM_202504)
- [Ausgabe 4/2020, Seite 34](https://filemaker-magazin.de/neuigkeit/4103-Appetithappen-FMM_202004)

This function checks for a license.

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

  
[Files.FileInfo](FilesFileInfo.md) - [Files.FileName](FilesFileName.md)

[HTML Version](FilesFileKind.shtml)