Folder rename Version 8 (Python)
Action group: File system
Description
This action is used to change the name of the folder.
Action icon
Settings of parameters
Property | Description | Type | Filling example | Mandatory field |
Parameters | ||||
Folder | Path to the folder that should be renamed | Robin.FolderPath | C:\doc\img | Yes |
New name | New name for the folder | Robin.String | Yes | |
Overwrite | Boolean variable, optional. If the value of the variable is True, then the existing folder will be overwritten. The default is false. If a folder with the same name already exists in the specified directory, but the value of the «Overwrite» parameter is false, an error will be thrown. | Robin.Boolean | true | No |
Results | ||||
Result | Full path to the moved folder. | Robin.FolderPath | C:\doc\img |
Special conditions of use
None.
Example of use
Task
There is a folder "New folder". It should be renamed to "Reports".
Solution
Use the "Folder rename" action.
Implementation
- Move the "Folder rename" action to the workspace.
- Set the parameters of the "Folder rename" action.
- Click on the "Start" button in the top panel.
Result
The program robot completed successfully.
The folder has been renamed.
Обзор
Инструменты контента