Skip to content

TBuildEngine.CmdRenameFile

Renames or moves a file to new location

Declaration

Source position: fpmkunit.pp line 1445

public 
procedure TBuildEngine.CmdRenameFile(const SourceName: string; 
                                    const DestName: string);

Description

Renames a file from the source location to the destination location. This can be used for both simple renaming within the same directory or moving files between different directories.

Used during build processes when files need to be relocated or renamed according to the package configuration.