Folder clean Version 7 (Python)

Action group: File system


Description

Moves the contents of the specified folder to the trash.

Action icon


Settings of parameters

PropertyDescriptionTypeFilling exampleMandatory field
Parameters
FolderPath to the folder, which should be copiedRobin.FolderPathC:\doc\imgYes
Remove subfoldersBoolean variable, optional. If the value of the variable is True, then the folders inside the selected folder will be deleted. The default is false.Robin.BooleantrueNo

Special conditions of use 

None.

Example of use

Task

You need to delete files from the RPA folder.

Solution

Use the "Folder clean" action. 

Implementation

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


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


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

Result

The program robot completed successfully.

The RPA folder is empty. 

  • Нет меток