Skip to content

Create Directory Command: createDirectory

The createDirectory command generates a new folder at a specified location within an automation workflow. This helps organize files, structure data storage, and ensure required directories exist before performing file operations.

Example: Suppose you want to create a folder named NewReports inside C:\Documents.

Steps to configure:

  1. Select Run Utility Commands from the Action dropdown.
  2. Leave the Screen and Element Key fields blank.
  3. Edit the parameter section and click on Form to open the configuration window.
  4. Select Functions from the dropdown, then choose File handler Functions as the function.
  5. In the Cmd field, select createDirectory.
  6. Provide the full directory path, including the new folder name (e.g., C:\Documents\NewReports).
  7. Click Save.
scrn-create-directory-command-tabular-view
Tabular View
scrn-create-directory-command-card-view
Card View

Outcome:

  • The system creates a new folder named NewReports at the specified location (C:\Documents).
  • If the folder is successfully created, the process continues; if not, the automation stops with an error.

Back To Top