Function group | Execute on client | Platform(s) |
---|---|---|
FileOps | NO | macOS |
FileOps.$convertposixpathtohfspath(cPosixPath,&cHfsPath)
Converts a POSIX file path to an HFS file path. Pathnames can be over 255 characters, which was the limit in Studio 8.0.1 or earlier.
An HFS file path is colon-delimited, where a leading colon indicates a relative path, otherwise the first component denotes the volume. A POSIX path is slash-delimited.
On any other platform, other than macOS, $convertposixpathtohfspath() simply copies cPosixPath to cHfsPath.
Do FileOps.$convertposixpathtohfspath("Applications/Calculator",lHfsPath)
# lHfsPath is returned as ":Applications:Calculator"