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
Path.ShortPath
Queries short file path on Windows.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| Path | 9.0 | Yes | Yes | Yes | Yes | Yes |
MBS( "Path.ShortPath"; Path ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| Path | The native file path. | "C:\Users\Christian Schmitz\Dokumente" |
Result
Returns OK or error.
Description
Queries short 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 short form and conversion is not needed, the function simply returns the input path.
Use Path.LongPath function to reverse to long path.
Examples
Convert FileMaker path:
MBS( "Path.ShortPath"; "C:\Program Files\FileMaker\FileMaker Pro 17 Advanced" )
Example result: "C:\PROGRA~1\FILEMA~1\FILEMA~1"
See also
Blog Entries
Release notes
- Version 9.0
- Added Path.ShortPath and Path.LongPath functions for Windows.
Created 17th December 2018, last changed 17th December 2018
Path.RemoveLastPathComponent - Platform
Feedback: Report problem or ask question.
Links
MBS Xojo Plugins