Action group: File system
This action is for copying a file.
Property | Description | Type | Filling example | Mandatory field |
Parameters | ||||
File | Path to the file to which the action will be applied. | Robin.FilePath | Yes | |
Destination folder | Destination folder, where the file should be copied to. | Robin.FolderPath | C:\doc\img | Yes |
New file name | New name for the copied file. Leave blank to keep the original. | Robin.String | No | |
Overwrite | Boolean variable, optional. If the value of the variable is True and a file with the same name already exists in the destination folder, then the existing file will be overwritten, otherwise it will not be, and the action will throw an exception. Default value: False | Robin.Boolean | true | No |
Results | ||||
Result | Path to the copied file. | Robin.FilePath |
None.
There is a text file. It is necessary to create a copy of it.
Use the "File copy" action.
The program robot completed successfully.
A copy of the file has been created.