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:
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
13.5
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"
This function checks for a license.
Created 30th November 2015, last changed 28th August 2019