File List

The File List command gets an array of files that match the specified parameters. It saves this array to a variable object.

Recursive search
Wildcard or regular expression
Exclude Wildcard or RegExp
These parameters are described in the Foreach File command.

Result Variable
Specify the name of the variable where the resulting list will be saved. The variable is an array of objects with fields name, size, time, dir, etc. Later, you can use this variable in other commands (e.g. Foreach) to process this file list.

Optional Parameters

Search only directories
If you want to search only directories, then specify onlydirs parameter equal to true.

Search only files
If you want to search only files, then specify onlyfiles parameter equal to true.

1onlydirs: true

Download sample script

The result of the script

Online Demo
Downloads Documentation Scripts Support