[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'FileUtil' (#lazutils)

TCopyFileFlags

Set type used to store TCopyFileFlag enumeration values.

Declaration

Source position: fileutil.pas line 202

type TCopyFileFlags = set of (

  cffOverwriteFile,

  

Overwrites the destination file if it already exists.

  cffCreateDestDirectory,

  

Create the directory for the destination fie if it does not already exist.

  cffPreserveTime

  

Preserves the timestamp for the source file in the destination file.

);

See also

TCopyFileFlag

  

Contains flags used to control actions performed in CopyFile or CopyDirTree.

CopyFile

  

Copies the source file to the destination file using the specified options.

CopyDirTree

  

Copies all file system entries in a source directory to the destination directory using the specified options.