Folder move Version 8 (Python)

Action group: File system


Description

This action is intended to move the folder to the specified directory.

Action icon


Settings of parameters

PropertyDescriptionTypeFilling exampleMandatory field
Parameters
FolderPath to the folder, which should be movedRobin.FolderPathC:\doc\imgYes
Target pathDirectory, where the folder should be moved toRobin.FolderPathC:\doc\imgYes
New nameNew name for the moved folderRobin.String
No
OverwriteBoolean variable, optional. If the value of the variable is True, then the existing objects of the file system located inside the target folder will be overwritten otherwise an error will be thrown. The default value is false.Robin.BooleantrueNo
Results
ResultFull path to the moved folder.Robin.FolderPathC:\doc\img

Special conditions of use 

None.

Example of use

Task

There is a folder called "Test folder". You need to move it to the path Z:\RPA and give it a new name "New folder". 

Solution 

Use the "Folder move" action. 

Implementation

  1. Move the "Folder move" action to the workspace.


  2. Set the parameters of the "Folder move" action. 


  3. Click on the "Start" button in the top panel. 

Result

The program robot completed successfully.

The folder is moved to the specified directory and renamed. 

  • Нет меток