Appending Plural String to text file

(imported topic written by SystemAdmin)

We have a relevance that pulls multiple plural string results and we are trying apppend the results to a text file. The problem is the text file places all of our plural string results in a single line. How can we make the plural string results display on the text file like it does in the QNA (one result per line)

Relevance:

delete __appendfile

appendfile {pathnames of files whose ((name of it as lowercase contains “file”) AND (creation time of it > now - 3*hour)) of folder “c:”}

delete files.txt

move __appendfile files.txt

QNA Results:

A:C:\file1

A:C:\file2.txt

A:C:\file3.txt

Text File Results:

C:\file1C:\file2.txtC:\file3.txt

We need the text file to look like:

C:\file1\

C:\file2.txt

C:\file3.txt

(imported comment written by NoahSalzman)

These threads should help:

http://forum.bigfix.com/viewtopic.php?id=751

http://forum.bigfix.com/viewtopic.php?id=1628

(imported comment written by gjeremia91)

can you not just concatenate the filenames with %0d%0a ?

e.g.

concatenation “%0a%0d” of (pathnames of files of folder “/”)

(imported comment written by SystemAdmin)

Thanks guys!