Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   8.0   8.1    Statistic  


Queries the display name of the file or folder.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Files 2.9 Yes Yes Yes Yes Yes

MBS( "Files.FileDisplayName"; Path )


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


Queries the display name of the file or folder.
This name may be localized and not include file extension. Only for displaying.
This function needs a native path. Please use Path.FileMakerPathToNativePath function in order to convert a FileMaker style path to a native path.


Queries display name of a file

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

See also

Example Databases

Files.DiskInfo   -   Files.FileExists

Feedback: Report problem or ask question.

MBS Xojo tutorial videos