---
title: "List Directory"
url: "https://help.maxon.net/ag/en-us/Content/html/Generator_table_list_dir.html"
section_path: "Generators > Table > List Directory"
description: "Generates a Table by listing the files in a directory. This is useful when set on the File parameter of an Image/Video Reader generator. This allows to …"
---

# List Directory

## Brief Description

Generates a Table by listing the files in a directory. This is useful when set on the File parameter of an Image/Video Reader generator. This allows to dyanmically load new media without importing them first in the project

## Controls

| Parameter / Script Name | Type | Default | Function |
| --- | --- | --- | --- |
| `Enabled / enabled` | Boolean | On |  |
| `Directory Path / dir_path` | File |  |  |
| `List Directories / list_directories` | Boolean | Off | Whether to include directories in the resulting table |
| `Filter / regexp` |  |  | A list of whitespace-separated wildcard filters, e.g: \*.jpg \*.exr \*.png |
