Script to build trail file based on list of files?
Wondering if anyone has a batch file that will work with a trail file segment and a list of files to build a long trail file.
I have the following files:
Trail-1.txt
Trail-2.txt
File-list.txt
In the new file I want:
- Trail-1.txt
- Trail-2.txt with the word FAMILY-INSTANCE replace with the first line of file-list.txt
- Trail-2.txt with the word FAMILY-INSTANCE replace with the second line of file-list.txt
- Trail-2.txt with the word FAMILY-INSTANCE replace with the third line of file-list.txt
- Etc… until you get to the last line of file-list.txt
Essentially a for each command with text replacement and append the new file with the modified trail-2.txt each time.
This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.

