TSTool / Command / ListFiles
ListFiles command lists files in a folder and saves the list to a table.
The table can then be used to drive processes, such as looping with
and working with a template.
The resulting table will include the following columns:
FileName– name of the file without leading path
RelativePath– name of the file as a relative path (relative to the command file working directory)
AbsolutePath– name of the file as the full absolute path
The following dialog is used to edit the command and illustrates the command syntax.
ListFiles Command Editor Showing Conditions Test (see also the full-size image)
The command syntax is as follows:
|The path of the folder for which to list files.||None - must be specified.|
||A pattern indicating files to include from Folder. Use
||All files will be included.|
||A pattern indicating files to exclude from Folder, checked after the
||No files will be excluded.|
|The identifier for the table to output the list. If the table does not exist, it will be created. See also
||None - must be specified.|
||Indicate whether list output should be appended to the table. This allows multiple
See the automated tests.