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.ResolveAlias
Resolves an alias file.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| Files | 8.4 | Yes | Yes | No | Yes | Yes |
MBS( "Files.ResolveAlias"; AliasFilePath { ; RelativeTo } ) More
Parameters
| Parameter | Description | Example | Flags |
|---|---|---|---|
| AliasFilePath | The path for the alias file path. | "/Users/cs/Desktop/test" | |
| RelativeTo | The folder path to use relative resolution. | "/Users/cs" | Optional |
Result
Returns file path or error.
Description
Resolves an alias file.See Files.CreateAlias to create alias files on Mac or link files on Windows, Files.CreateHardLink and Files.CreateSymbolicLink for creating links in file system.
This function requires a native path. Use Path.FileMakerPathToNativePath to convert a FileMaker path to a native path if required. If you like to have the user choose the path, you can use FileDialog functions.
For Server be aware that server has limited permissions and may not be able to access all files on a computer.
Examples
Resolve Alias:
MBS( "Files.ResolveAlias"; "/Users/cs/Desktop/test")
Resolve link file on Windows:
MBS("Files.ResolveAlias"; "C:\Users\Christian\Desktop\test.lnk")
See also
Blog Entries
Release notes
- Version 8.4
- Added Files.CreateAlias and Files.ResolveAlias functions.
Created 9th September 2018, last changed 9th September 2018
Files.RenameFile - Files.ResolveBookmark
Feedback: Report problem or ask question.
Links
MBS Xojo PDF Plugins