Skip to main content
Roberty Studio
RPAFile Management

Create directory

Create directory

Creates a new folder at a path specified in the file system. Useful for organizing the directory structure before saving or processing files.


Options​

New directory path​

Enter the full path of the folder to create, including the name of the new folder. Example: C:\Desktop\Nova_Pasta.

Returns​

Javascript code​

js
actions["action-id"].path // created directory path (Text)

Field selection​

  • path — created directory path (Text)

Rules and Conditions​

  • The New directory path field is required.
  • The given path must be reachable by the robot.
  • If the intermediate folders of the path do not exist, they are created as well.
  • If the folder already exists, the action does not fail and the existing folder is kept.