Process Designer : Process Designer : Process Designer Model Tools : List Files
 

List Files

The List Files process has been added to Process Designer so that wild cards can be used to find all files that have relevant names in a given directory structure.

This is useful, for example, to pass all files of a specific format to the For Each process so that set of processes can be run on each of the files.

The * wild card matches any number of characters (including none).

For example, given the files

D:\data\dataset1.dat

D:\data\dataset2.dat

D:\data\another.dat

the pattern "D:\data\dataset*.dat" will find and list:

D:\data\dataset1.dat

D:\data\dataset2.dat

When * is used within a directory it searches all immediate sub-directories matching the pattern.

The ** wild card can be used in place of a directory to recursively search all sub-directories.