*copy
Description

Command to copy a file. WindowsEnabler must have read access for the source file and write access to the destination file and both files must be located on the designated PC or on network folders that are accessible by the WindowsEnabler program on the PC.

Syntax

*copy <source file> <destination file>

Parameters

source file

Full-qualified name of the source file (the file to be copied).

destination file

Full-qualified name of the destination file.

Return values

0 File successfully copied.

1 Parameter error. Not enough parameters specified.

2 Error opening source file. The file name of the source file is invalid or windowsEnabler is not allowed to open the file.

3 Error creating destination file. The file name of the destination file is invalid or WindowsEnabler is not allowed to create the file.

4 Destination file exists. The source file has not been copied.