[Overview][Types][Classes][Procedures and functions][Index] | Reference for unit 'ShellCtrls' (#lcl)

# TShellTreeNode.FullFilename

Gets the full file name including path for the item represented in the tree node.

## Declaration

Source position: shellctrls.pas line 421

`public function TShellTreeNode.FullFilename: string;`

## Function result

The full path and name for the file system object.

## Description

FullFilename is a String function used to get the full path and name for the file system object represented by the tree node. When BasePath is not empty (a root node), it is included in the return value followed by a path delimiter and the value in Text (ShortFilename). For a root node, only the value in Text is used.

Trailing path delimiters are not included in the property value for directory nodes, and are not needed for file nodes. On Windows platforms (other than WinCE), device identifiers (like 'C:') are modified to include a trailing path delimiter ('C:\').

Use ShortFilename to get the name for the tree node without path information.

## Version info

Modified in LCL version 2.2.2 to remove direct access to the internal TSearchRec instance when getting the value for the property.

## See also

TShellTreeNode.BasePath |  | Contains the base path to the file system object in the tree node.
TShellTreeNode.ShortFilename |  | Gets the name for the item represented in the tree node.
TShellTreeNode.IsDirectory |  | Indicates if the tree node is a directory on the local file system.
TTreeNode.Text |  | Text displayed for the tree node.