# Create directory

Source: [https://docs.virtosoftware.com/docs/virto-workflow-automation-web-part/virto-sharepoint-workflow-activities-kit-sharepoint-2010-workflow-platform/file-activities/create-directory/](https://docs.virtosoftware.com/docs/virto-workflow-automation-web-part/virto-sharepoint-workflow-activities-kit-sharepoint-2010-workflow-platform/file-activities/create-directory/)
Product: Virto Workflow Automation Web Part
Updated: 2026-08-12


This activity creates all directories and subdirectories in the specified path.

![Create directory activity settings with the directory path in the SharePoint Workflow Designer](https://img-docs.virtosoftware.com/wp-content/uploads/2024/10/create_directory_1.png)

Any directories specified in the path are created, unless they already exist or some part of the path is invalid. The path parameter specifies a directory path, not a file path. If the directory already exists, this method does nothing.

You can create a directory on a remote computer or on a share that you have write access to. UNC paths are supported; for example, you can specify the following for the path: `\\2009\Archives\December`.

Creating a directory with only the colon character (:) is not supported and will cause an exception to be thrown.

## **SharePoint Workflow Designer Phrase**

Create all directories and subdirectories in the specified path.

**Parameters**


| Parameter | Description |
|---|---|
| the specified path | The directory path to create. |

