# List Folders

This activity all the folders and subfolders in the user-specified folder location.

### Input

* Location: [`String Argument`](https://docs.visualyze.ai/getting-started/rpa-studio/arguments#types-of-arguments) <mark style="color:red;">`Required`</mark>\
  Specifies the folder to be scanned.
* **Include Subfolders:**
  * `True` - The subfolders will also be listed.
  * `False` - The subfolders won't be listed.
* **Filter:** [`String Argument`](https://docs.visualyze.ai/getting-started/rpa-studio/arguments#types-of-arguments) <mark style="color:red;">`Required`</mark>\
  Specifies the filter to be applied on the list of folders of the user-specified directory.

### Output

* Output: [`IList Variable`](https://docs.visualyze.ai/getting-started/rpa-studio/variables/activity-variables#ilist)\
  The output is a list that stores the list of folders as FolderObject type.
