Make Directory

This action creates a new directory on the local file system where the robot is executed.

Note that the action is only performed during execution in Design mode in Design Studio, if the option Execute in Design Mode has been selected.

Properties

The Make Directory action can be configured using the following properties:

Directory

This is the file system path or a file URL for the directory to be created. This can be specified in several ways using the Value Selector. The path must be absolute, including the drive name, if any, and the directory path to the directory. Alternatively it can be a file URL, e.g. file:/C:/temp/newDir, in which case it must be URL encoded. The separators / and \ may be used interchangeably.

Generate Error if Directory Exist

Makes the action generate an error if the directory already exists.

Create Directories

Specifies whether to create the necessary directories on the path before creating the directory. If not selected, then the action will fail if any directory on the path does not exist.

Execute in Design Mode

If this is enabled, the action will be executed even in Design Mode inside Design Studio. If this is disabled, the action will do nothing when you navigate the robot in Design Mode.