---
url: /process-functions/datasource-directorycreate.md
description: >-
  Creates the given directory in the MODLR file manager system in the provided
  path.
---

# datasource.directoryCreate&#x20;

Creates the given directory in the MODLR file manager system in the provided path. Returns a boolean of the success of the directory creation.

```js
datasource.directoryCreate(directoryName);
```

#### Parameters

* `directoryName` - The name and file path of the directory and where it is to be created.

#### Examples

```js
let res = datasource.directoryCreate("Export");
```

```js
let res = datasource.directoryCreate("Upload/Images");
```
