> ## Documentation Index
> Fetch the complete documentation index at: https://docsuncv2.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# makefolder

Creates a new folder at `path` inside Seliware's workspace folder.

```luau theme={null}
makefolder(path: string): ()
```

`path` is relative to Seliware's workspace folder.

<Tip>
  If you're about to `writefile` into a new path, you usually don't need `makefolder` first - `writefile("configs/anotherFolder/01.json", ...)` will create `configs/` and `configs/anotherFolder/` automatically.
</Tip>

## Parameters

| Parameter | Type     | Description       |
| --------- | -------- | ----------------- |
| `path`    | `string` | Folder to create. |

## Returns

<code title="the function does not return a value.">void</code>

## Example

<CodeGroup>
  ```luau Example 1 theme={null}
  <<<<<<< HEAD
  makefolder("scripts")
  =======
  -- makefolder(path: string): ()
  >>>>>>> 50e30f53759b0538759af25c9b271514aa2c9290
  ```

  ```luau Example 2 theme={null}
  makefolder("configs")
  ```
</CodeGroup>

<Tip>
  If you're about to `writefile` into a new path, you usually don't need `makefolder` first - `writefile("configs/anotherFolder/01.json", ...)` will create `configs/` and `configs/anotherFolder/` automatically.
</Tip>
