# Directory List

**DirectoryList** returns a list of directories and optionally its sub-directories from a specified directory path.

***

## Properties <a href="#properties" id="properties"></a>

### Directory Path <a href="#directory-path" id="directory-path"></a>

The base directory from which to retrieve the directory list.

### Include Subdirectories <a href="#include-subdirectories" id="include-subdirectories"></a>

Select this checkbox to also return all subdirectories.

### Loop Results <a href="#loop-results" id="loop-results"></a>

Select to return the directory names one at a time.

If selected, a loop is created for **DirectoryList** (see on Design canvas). Add processing instructions inside the loop.

### Search Pattern <a href="#search-pattern" id="search-pattern"></a>

The search string to match against the names of directories.

Separate multiple patterns with a semicolon (;).

`*` matches zero or more characters.

`?` matches exactly zero or one character.
