Xojo.IO.FolderItem.Path

From Xojo Documentation

Read-Only Property (As Text )
TextValue = aXojo.IO.FolderItem.Path

Supported for all project types and targets.

The full path to the FolderItem using the path format native to the OS.

Notes

On macOS, iOS and Linux, this returns the POSIX path (separated by slashes).

If the FolderItem is a folder, the Path ends with a backslash on Windows and a forward slash on Linux.

When accessing a drive on Windows that you do not have permissions for or one that does not exist, there is no trailing slash. For example, "f:" is a drive that is not mounted, "f:\" is mounted.

Sample Code

Get the full path of a file:

Dim fullPath As Text = myFolderItem.Path