''Copy'' Function

Top  Previous  Next

Copies a file or directory.

Syntax

Copy(sourcetarget)

 

Parameters

source

The file or directory to be copied

 

target
The target file or directory. If parent directory of the target file or directory does not exist it will be created.
 

See Absolute or Relative Names.

 

Examples:

Copy('readme.txt', 'archive/readme.txt') 

Copy('c:\documents','c:\temp\documents')