Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.5
10.0
10.1
10.2
10.3
10.4
10.5
11.0
11.1
11.2
Statistic
FMM
Blog
Removes last path component.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Path | 6.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example |
---|---|---|
Path | The native file path. | "/Users/cs/Desktop" |
Returns path or error.
Removes last path component on Windows:
MBS( "Path.RemoveLastPathComponent"; "c:\\test.txt" )
Get app folder path:
MBS( "Path.RemoveLastPathComponent"; MBS( "App.GetProcessPath" ))
Query plugin folder:
MBS( "Path.RemoveLastPathComponent"; MBS( "Plugin.Path" ) )
Example result: "/Applications/FileMaker Pro 18 Advanced/Extensions"
Created 30th November 2015, last changed 28th August 2019
Path.NativePathToFileMakerPath - Path.ShortPath
Feedback: Report problem or ask question.