> For the complete documentation index, see [llms.txt](https://docs.visualyze.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.visualyze.ai/rpa-studio/file/common/list-folders.md).

# List Folders

List folders in a given location.

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

### Input

* Location: [`String Argument`](/getting-started/rpa-studio/arguments.md#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`](/getting-started/rpa-studio/arguments.md#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`](/getting-started/rpa-studio/variables/activity-variables.md#ilist)\
  The output is a list that stores the list of folders as FolderObject type.
