Unit 'fpmkunit' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#fcl]

TBuildEngine.CmdRenameFile

Renames or moves a file to new location

Declaration

Source position: fpmkunit.pp line 1430

public procedure TBuildEngine.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.


Documentation generated on: Dec 15 2025