UiPath.Core.Activities.CreateDirectory
Creates a folder in the specified location. If only a folder name is specified, the folder is created in the project folder.
To learn how to use this activity, see Tutorial: Working with Files and Folders.
In the Body of the Activity
- Folder name - Click on the right side of the field and then, from the menu, choose one of the available options to indicate the folder to create:
- Data from an application added to a card. For example, select an Excel file and then select a cell that contains a folder path, or indicate a field from a selected email in Outlook that contains a folder path.
- Use Saved Value - Select a value in the form of a folder path that you previously saved for later use in the project.
- Text - Enter a folder path in the Text Builder. You can combine text with a formula from an Excel file cell, for example to add a date to the folder name using formulas in the Excel Workspace.
- Open in Advanced Editor - Enter a VB expression.
Properties
Common
- DisplayName - The name displayed for the activity in the Designer panel.
- ContinueOnError - If selected, specifies that the automation should continue even when the activity throws an error. If not selected, the execution of the project stops when an error is encountered.
Folder
- Path - See Folder name in the body of the activity.
Misc
- Private - If selected, the data used in the activity is not logged by StudioX.
Updated 2 years ago