Get parent Version 8 (Python)
Action group: File system
Description
Gets the full path to the parent folder.
Action icon
Settings of parameters
Property | Description | Type | Filling example | Mandatory field |
Parameters | ||||
Folder | Path to the directory, whose parent should be found | Robin.FolderPath | C:\doc\img | Yes |
Results | ||||
Result | Full path to the parent folder | Robin.FolderPath | C:\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
- Move the "Get parent" action to the workspace.
- Set the "Get parent" action parameter.
- Click on the "Start" button in the top panel.
Result
The program robot completed successfully. The path to the parent folder is obtained.
Обзор
Инструменты контента