Skip to content

Create Directory

Type: create-directory  ·  Package: Filesystem Activities v1.0.0  ·  Output: string

Creates a folder, automatically including all parent folders missing from the path. If the folder already exists, it does nothing (does not crash). Use it to prepare the output structure before writing or moving files.

Create the path folder. If the path includes intermediate folders that do not exist (C:/salida/2026/junio), it creates them all. If it already existed, it continues without error.

ParameterEditorDescription
pathexpressionPath of the folder to create.

Ninguno.

Returns the path of the folder created, in case you want to capture it into an output variable.

Secure the destination folder before saving a report:

Set Variable name = carpeta value = = "C:/reportes/" + today().ToString("yyyy/MM")
Create Directory path = = carpeta
Write Excel Sheet path = = pathJoin(carpeta, "ventas.xlsx") data = = ventas