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.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
Files.StandardizePath
Standardized a path.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| Files | 10.3 | Yes | Yes | Yes | Yes | Yes |
Parameters
| Parameter | Description | Example |
|---|---|---|
| Path | The file path to standardize. | "~/test" |
Result
Returns OK or error.
Description
Standardized a path.On MacOS, expands tilde, reduce empty components, references to current directory and symbolic links.
On Windows, we resolve environment variables and get the full path.
On Linux, we resolve symbolic links, reduce empty components and resolve relative paths.
Examples
Resolve path on Mac with ~ inside:
MBS( "Files.StandardizePath"; "~/test/./testing" )
Example result: /Users/cs/test/testing
Resolve environment variable on Windows:
MBS( "Files.StandardizePath"; "%HOMEPATH%\test.txt")
Example result: C:\Users\Christian\test.txt
Resolves on Windows an not needed folder name and two dots:
MBS( "Files.StandardizePath"; "%APPDATA%\notneeded\..\test.txt")
Example result: C:\Users\Christian\AppData\Roaming\test.txt
Blog Entries
- What is new in the MBS FileMaker Plugin Version 10.3
- Neues MBS FileMaker Plugin 10.3 - Über 6200 Funktionen in einem Plugin
- MBS FileMaker Plugin 10.3 - More than 6200 Functions In One Plugin
- MBS FileMaker Plugin, version 10.3pr5
Release notes
- Version 10.3
- Added Files.StandardizePath function.
Created 18th June 2020, last changed 19th June 2020
Files.SetTagNames - Files.Unmount
Feedback: Report problem or ask question.
Links
MBS Xojo Chart Plugins