Showing results for 
Search instead for 
Did you mean: 

Merge text files

Is there a way to merge 2 text files using InstallAnywhere?

I know I can append text to a file using the Modify file action, but is there any way to get this text to append from another file?

Labels (1)
0 Kudos
1 Reply
Flexera beginner

Re: Merge text files

It seems that the built-in Modify Text action, while it allows you to append text, doesn't allow you to take the content from another file, so you've got at least two alternatives, the simpler being to use something like:

more file1 file2 > file3
mv / move file3 file2
rm / del file2

or write some custom code in order to do that (but more complicated, I guess).
0 Kudos