[Overview][Constants][Types][Classes][Procedures and functions][Index] |
CopyFile - copies Source file to Destination file, optionally preserving the time stamp of the original file
Source position: line 0
function CopyFile( |
const SrcFilename: String; |
const DestFilename: String |
):Boolean; |
const SrcFilename: String; |
const DestFilename: String; |
PreserveTime: Boolean |
):Boolean; |
SrcFilename |
|
The source filename for the Copy |
DestFilename |
|
The destination filename for the Copy |
Returns True if successful, False if there was an error
SrcFilename |
|
The source filename for the Copy |
DestFilename |
|
The destination filename for the Copy |
PreserveTime |
|
If True, the time stamp of the original file is preserved in the copied file |
Returns True if successful, False if there was an error
An exception is raised if the Copy process does not complete successfully or correctly
lazarus-ccr.sourceforge.net |