Skip to content

Create Directory Activity

The Create Directory activity enables users to establish new directories within a specified file path. It can also recursively create all necessary parent directories if they do not already exist, ensuring the full path is available for subsequent operations.

Field Description Requirement
Directory name Specifies the full path and name of the directory to be created. Required
Create all directories When set to true, the activity creates all intermediate directories in the specified path if they do not exist. If set to false, the activity will only create the final directory if its parent directory already exists. Optional

Action Types & Examples

Directory Creation Status

  • Format: boolean
  • Example Result: true

Implementation Examples

Field Setup - Directory name: C:\Temp\Deneme\NewDirectory - Create all directories: true

Execution Parameters - Directory path: C:\Temp\Deneme\NewDirectory - Recursive creation enabled: true

Technical Notes

The activity requires appropriate file system permissions to create directories at the specified path. If the target directory already exists, the activity will typically complete without error, but no new directory will be created. Ensure the path format is valid for the operating system where the activity is executed.