Sign in Join
FPDoc Onlineexperiment

TBuildEngine.CmdRenameFile procedure

Member of TBuildEnginepublicIn unit fpMkUnit

Renames or moves a file to new location

Declaration

pascal
procedure CmdRenameFile(const SourceName: string; 
 const DestName: string)

Arguments

SourceName

Source filename to rename

DestName

Destination filename after rename

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.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.