Get parent Version 8 (Python)

Action group: File system


Description

Gets the full path to the parent folder.

Action icon


Settings of parameters

PropertyDescriptionTypeFilling exampleMandatory field
Parameters
FolderPath to the directory, whose parent should be foundRobin.FolderPathC:\doc\imgYes
Results
ResultFull path to the parent folderRobin.FolderPathC:\doc\img

Special conditions of use 

None.

Example of use

Task

Get the path to the parent folder where the "New folder" folder is located. 

Solution

Use the "Get parent" action. 

Implementation

  1. Move the "Get parent" action to the workspace.


  2. Set the "Get parent" action parameter. 


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

Result

The program robot completed successfully. The path to the parent folder is obtained.

  • Нет меток