File copy Version 13 (Net)
Action group: File system
Description
This action is for copying a file.
Action icon
Settings of parameters
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 |
Special conditions of use
None.
Example of use
Task
There is a text file. It is necessary to create a copy of it.
Solution
Use the "File copy" action.
Implementation
- Move the "File copy" action to the workspace.
- Set the parameters of the "File copy" action.
- Click on the "Start" button in the top panel.
Result
The program robot completed successfully.
A copy of the file has been created.
Обзор
Инструменты контента