Copy Item [ Result; From; To; Replace ]
Copy Item copies a file or folder to a new location, optionally replacing any same-named items in the destination.
Parameter | Description |
---|---|
Result | Optional. A target field to receive any copying error. Will be left empty when there is no error. |
From | The path or container reference to the folder or file to be copied |
To |
The path or container reference to either:
|
Replace | When set to “Yes”, an item in Destination with the same name will be replaced. When “No” an error will be generated if copying would replace an existing item. |
Examples
To copy a file named “MyDatabase.fmp12” on the Desktop to a USB flash drive named KINGSTON:
Copy Item [
Select;
Result: MyTable::Result;
From: ".D/MyDataBase.fmp12" ;
To: "/KINGSTON" ;
Replace: No ]