Sample code for 30+ languages & platforms
Xojo Plugin

Get the Target of a Symbolic Link

See more FileAccess Examples

Demonstrates how to get the target of a symbolic link.

Note: This example requires Chilkat v9.5.0.77 or greater.

Chilkat Xojo Plugin Downloads

Xojo Plugin
Dim fac As New Chilkat.FileAccess

Dim targetPath As String
targetPath = fac.SymlinkTarget("qa_data/my_symlink")
If (fac.LastMethodSuccess <> True) Then
    System.DebugLog("Failed to get symlink target.")
    Return
End If

System.DebugLog("target path = " + targetPath)