Skip to main content

Create Directory

Create a directory at the given path, including any missing parent directories (idempotent mkdir -p). By default, succeeds silently if the directory already exists. Enable 'Fail if exists' to error when the target path is already present.

Category: File & Folder Operations · Group: Files · Activity name: CreateDirectory

The CreateDirectory activity in the designer

Example

CreateDirectory("<path>", failIfExists=False)

Inputs

NameTypeRequiredDefaultDescription
Directory PathstringYesThe absolute path of the directory to create. Missing parent directories are created automatically.
Fail if existsbooleanFalseWhen enabled, the activity errors if the target directory already exists. Default: succeed silently if present.