SysFileCopy (Windows only)

>>-SysFileCopy(source, target)---------------------------------><

Copies a file from one location to another. Wildcard file specifications are not allowed.

Parameter:

source

The path/name of the file to be copied.

target

The path/name of the target location where the file is to be copied.

Return codes:

0

File copied successfully.

2

A Windows error code.

Example:

/* Code */
call SysFileCopy "c:\temp\myfile.txt", "d:\myfolder"