---
title: "makefolder"
description: "Creates a directory path."
---

```lua
makefolder(path: string): ()
```

---

## Aliases

None.

---

## Arguments

<ParamField body="path" type="string" required>
  A UTF-8 path relative to the Byte workspace.
</ParamField>

---

## Returns

This function returns no values.

Already existing folders are accepted. Native creation failures raise an error.

**Related types:** [Filesystem types & behavior](/reference/filesystem/types).

---

## Example

```lua
makefolder("docs-example/nested")
```
