8.5

Folder Listing
Folder Listing input tasks list the files present in a selected folder and gives you the option to use filename
masks, to sort files by name or date, and to list the files present in the selected folder’s subfolders. The lists it
generates are in XML format.
Input
Folder Listing captures nothing, however it does read the input folders (and, if selected, subfolders) and
gathers information about each file in that folder.
Processing
Folder Listing loops through the files and, for each file, generates an XMLnode with information about the
file.
Output
The output is an XMLfile containing information about each file. If the Sub-directories option was checked,
the structure of the XMLalso contains the folder structure as it is present on the drive.
Here is a sample of the XMLthat is generated:
<?xml version="1.0" encoding="windows-1252"?>
<files count="3" filemask="*.*">
<folder>C:\Samples\<file>
<filename>invoice.pdf</filename>
<path>C:\Samples\</path>
<time>2012/06/01 16:14:40</time>
<size>81452</size>
</file>
<file>
<filename>test1.pdf</filename>
<path>C:\Samples\</path>
<time>2013/01/17 09:13:50</time>
<size>20197</size>
</file>
</folder>
<folder>C:\Samples\manuals\<file>
<filename>usermanual.pdf</filename>
<path>C:\Samples\manuals\</path>