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.5   9.0   9.1   9.2   9.3   9.4   9.5   10.0   10.1   10.2    Statistic  


Queries the file name of the given path.

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


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


Returns file name as text or error.


Queries the file name of the given path.


Queries file name of a file

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

See also

Example Databases

Blog Entries

Release notes

  • Version 8.5
    • Changed Files.FileName to work on Windows/Linux if last character in path is (back)slash.

Created 18th August 2014, last changed 18th August 2014

Files.FileKind   -   Files.FileSize

Feedback: Report problem or ask question.

MBS Xojo Plugins