# Create Directory

> Create a directory at the specified path. This PowerBrick can be used to create directories during a package installation or for general file management tasks.

Source: https://docs.capaone.com/capaone/application-manager/powerbricks/create-directory/  
Product: CapaOne — a separate CapaSystems product; do not apply this page to any other.

Create a directory at the specified path. This PowerBrick can be used to create directories during a package installation or for general file management tasks.

## Parameters

#### Directory Path
*Required*

This is the full path for the Directory you want to create ex. $Env:ProgramFiles\MyApplication

## Details

- **Category:** File and directory
- **Brick ID:** `Directory-Create`

## Raw JSON definition

**JSON**

```json
{
  "category": "fileAndDirectory",
  "description": "Create a directory at the specified path. This PowerBrick can be used to create directories during a package installation or for general file management tasks.",
  "developerVendor": "CapaSystems A/S",
  "displayName": null,
  "id": "Directory-Create",
  "name": "Create Directory",
  "parameters": [
    {
      "allowManualInput": null,
      "defaultValue": "",
      "defaultValueObject": null,
      "description": "This is the full path for the Directory you want to create ex. $Env:ProgramFiles\\MyApplication",
      "id": "Directory_Path",
      "name": "Directory Path",
      "regExValidation": "",
      "required": true,
      "type": "TextBox",
      "value": null,
      "values": [],
      "valuesObject": null
    }
  ],
  "powershell": {
    "base64Encoded": true,
    "function": "RnVuY3Rpb2..."
  },
  "type": "powerbrick",
  "version": "2026.7.2.1"
}
```
