/c and /r arguments were added with the release of v4.22.

Quote:


Syntax
Copy "<source>" "<destination>" [<filename>] [/h] [/s][/c][/r]

Parameters
source = source path and file of file or directory to be moved/renamed

destination = target path and file name for new copy of source

filename = optional file name for target (allows rename)

/h = include hidden files (optional)

/s = include subdirectories(optional)

/c = Continue if errors occur

/r = Overwrite read-only files

Description
Creates a copy of one or more files

Return Values
KiXtart commands return a Win32 error code:

0 = The operation completed successfully
2 = The system cannot find the file specified.
3 = The system cannot find the path specified.

Enter "net helpmsg [number]" at the command prompt to learn the meaning of any Win32 error code, where [number] represents the error you are being returned.

Example
Copy "\\production\data\critical\*.*" "\\backups\critical"

Remarks
The Copy command allows you to copy files from one location to another. When copying an individual file, you may specify an alternate name for the copy by specifying an optional destination file name. When specifying a directory path, a trailing backslash is not necessary; if included, it will be ignored.

The KiXtart Copy command does not copy files with the "system" file attribute.

When determining if the specified destination (target) is a file or a directory, a file will be assumed if no directory of that name exists. If copying multiple files, you must specify an existing directory as a target to receive the files.

/c and /r arguments were added with the release of v4.22.