# Function: pickDataFolder()

```ts
function pickDataFolder(options?): Promise<DirectoryHandleLike>;
```

Defined in: [packages/core/src/storage/directory-access.ts:63](https://github.com/leifriksheim/minca/blob/main/core/src/storage/directory-access.ts#L63)

Asks the user to choose their data folder. Must be called from a click.

## Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `options?` | \{ `id?`: `string`; \} | - |
| `options.id?` | `string` | Groups the picker's memory of where it last opened. |

## Returns

`Promise`\<[`DirectoryHandleLike`](https://minca.dev/api/core/interfaces/DirectoryHandleLike.md)\>
