Skip to main content

Create folder

Sophie avatar
Written by Sophie
Updated over a week ago

Definition and Usage

Create a new folder in a specified location. This command allows you to create a directory within an existing folder path on your file system.


Parameter Values

Input parameters

Parameter

Description

Required

Options / Notes

Create new folder into

Enter or choose the full path of the folder, or a variable containing the folder, to create a new folder in

Yes

You can use the "Select folder" button to browse for a location

New folder name

Enter the text or choose a text variable to name the new folder

Yes

The name should follow file system naming conventions

Error handling

Parameter Name

Description

Throw error & stop

When an error occurs, the action will trigger an error and stop the execution of the entire app.

Retry command

If an error occurs, the action will retry the command in an attempt to resolve the issue and continue the process.

Ignore error & continue

When an error occurs, the action will be ignored, and the workflow will continue without interruption.

Variables produced

This action produces the following variable:

  • Store new folder path into: Contains the full path to the newly created folder


Using Variables in Conditions

You can use variables in the input fields where you see the {x} icon. This allows you to dynamically specify folder locations or names based on previously defined variables in your workflow.

For example:

  • You can use a variable for the parent folder path if it's determined at runtime

  • You can create dynamically named folders using text variables


Notes

  • Before using this command, ensure that the parent folder already exists

  • The user account running the automation must have sufficient permissions to create folders in the specified location

  • If a folder with the same name already exists, this command may generate an error depending on the operating system behavior

  • Special characters that are not allowed in folder names by the operating system will cause the command to fail

Did this answer your question?