Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

Path.LongPath

Queries long file path on Windows.

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

Parameters

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

Result

Returns text or error.

Description

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.

Examples

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

Release notes

Blog Entries

This function is free to use.

Created 17th December 2018, last changed 20th February 2024


Path.LastPathComponent - Path.NativePathToFileMakerPath