Xojo.IO.FolderItem.DisplayName

From Xojo Documentation

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

Supported for all project types and targets.

The name of the FolderItem as it should be displayed to the user. This is usually the same as the Name property, but you should always use DisplayName rather than Name when displaying the name of the FolderItem to the user.

Sample Code

Get the display name:

Var name As String
name = myFile.DisplayName