Follow the steps below to merge multiple files from a File Set into a single file:
From within the Project Designer page, expand the File System folder in the Component Library, and then drag the Merge Files task to the Project Outline.
On the Basic tab of the Merge Files task, specify the Output File value:
Output File
The output
file path that will contain the contents of all the merge files.
On the Advanced tab of the Merge Files Task, specify the delimiter:
File Delimiter
A delimiter to be written between each appended file.
Click the
Add
button in the sub-menu and choose the
File Set
menu item.
On the Basic tab of the File Set element, specify the Path value:
Base Directory
Specify the starting directory for this File Set. If no filters are defined, all files in this directory will be included.
Click the
Add
button in the sub-menu and choose the
Add Same
menu item. Repeat step number 6 for each to merge.