read 2 text files and write to the 3rd one
Posted on 2011-10-18
I have 2 text files:
TextFile1.txt contains only one entry
TextFile2.txt contains multiple entries, unknown number
I would like a script (I am open to the most feasible suggestions) that will write in TextFile3.txt as follows:
Basically, in excell this can be done with the following function:
I am looking for a batch script or other form of script that I could execute in the folder which contains TextFile1 and TextFile2 , a scrip that will write the output in TextFile3 by default.