Join Two Text Files

Join two text files using two variables

This task will join two text files using two variables, one for each text file, two Read from file actions and a Write to file action.

First the variables are created named myvar and myvar2. When each Read from file action is defined, one of the variable names is used in the 'Populate variable with read data' field. A Write to file action is used to join the two variables containing file data creating one file.

Note: In order for the task to work properly, please create a folder named Temp in your C:\ drive and create files named test1.txt and test2.txt (with some data) in your temp folder or modify both Read From File actions to point to a valid text file which includes data.

Task Category:

FTP