fileName

Type: String

The fileName property of the FileNode class contains the fully qualified path and name of the file or folder. If the full path is not specified, the current default directory is assumed.

The following code fragments show the use of the fileName property.

file1.fileName := "C:\temp\myTempFile";
dir1.fileName := "C:\";    // The disk designator "C:" needs a backslash "C:\"
                           // to be a fully qualified path

You must set this property before a file is opened.