Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 8.0   8.1   8.2   8.3   8.4   8.5   9.0   9.1   9.2   9.3    Statistic  


Resolves an alias file.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Files 8.4 Yes Yes Yes No Yes
MBS( "Files.ResolveAlias"; AliasFilePath { ; RelativeTo } )   More


Parameter Description Example value
AliasFilePath The path for the alias file path. "/Users/cs/Desktop/test"
RelativeTo Optional
The folder path to use relative resolution.


Returns file path or error.


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.


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

Created 9th September 2018, last changed 9th September 2018

Files.RenameFile   -   Files.ResolveBookmark

Feedback: Report problem or ask question.

MBS Xojo tutorial videos