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:
10.1
10.2
10.3
10.4
10.5
11.0
11.1
11.2
11.3
11.4
Statistic
FMM
Blog
Standardized a path.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Files | 10.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example |
---|---|---|
Path | The file path to standardize. | "~/test" |
Returns OK or error.
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
Created 18th June 2020, last changed 19th June 2020
Files.SetTagNames - Files.Unmount
Feedback: Report problem or ask question.