From Xojo Documentation

Read-Only Property (As String )
StringValue = aFolderItem.AbsolutePath

Supported for all project types and targets.

The full path to the FolderItem.


If the item is a directory (folder), the pathname ends with a backslash on Windows, with a colon on macOS and with a forward slash on Linux.

When accessing a drive on Windows that you do not have permissions for or does not exist, AbsolutePath has no trailing slash. For example, "a:" is a floppy drive with no disk, "a:\" has a disk.


This example displays the absolute path:

Dim f As New FolderItem