Folder File Count

Returns the count of the number of files that satisfy the filter in the given folder.

Privileges

Normal

Input Parameters

Name Type Required Description
Folder String Yes The name of the folder to search.
Filter String No A string to match the files that are counted. The wildcard '*' is accepted. i.e. '*.exe'

Output Parameters

Name Type Description
File Count Number The number of files satisfying the filter.
Result Number Returns a success value of zero or any value other than zero to indicate failure.

Example Input Parameters

Name Type Required Example
Folder String Yes C:\folder1\folder2
Filter String No *.txt or Name*.txt