Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 9.0   9.1   9.2   9.3   9.4   9.5   10.0   10.1   10.2   10.3    Statistic  


Queries long file path on Windows.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Path 9.0 Yes Yes Yes Yes Yes
MBS( "Path.LongPath"; Path )   More


Parameter Description Example value
Path The native file path. "C:\Users\Christian Schmitz\Dokumente"


Returns OK or error.


Queries long file path on Windows.
For your convenience this function returns same path on iOS, Mac and Linux.
If the specified path is already in its long form and conversion is not needed, the function simply returns the input path.


Convert to long path:

MBS( "Path.LongPath"; "C:\PROGRA~1\FILEMA~1\FILEMA~1" )

Example result: "C:\Program Files\FileMaker\FileMaker Pro 17 Advanced"

See also

Blog Entries

Release notes

Created 17th December 2018, last changed 17th December 2018

Path.LastPathComponent   -   Path.NativePathToFileMakerPath

Feedback: Report problem or ask question.

MBS Xojo blog