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.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5    Statistic  

Files.FileDisplayName

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 )

Parameters

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

Description

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.

Examples

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.




Links
MBS Xojo Chart Plugins