RenameLogicalFile STD.File.RenameLogicalFile STD.File.RenameLogicalFile File.RenameLogicalFile RenameLogicalFile ( filename, newname ) filename A null-terminated string containing the current logical name of the file. newname A null-terminated string containing the new logical name for the file. The RenameLogicalFile function changes the logical filename to the newname. Example: A := STD.File.RenameLogicalFile('Fred', 'Freddie');