User: Lynne -- 2010-12-04 << 670 672 >> |
Hits: 3562 |
Type: Text merge |
Search all Text merge examples |
Description: |
How to compare two folders and merge files which have same file names by column? |
Input Sample: |
C:\001.TXT C:\002.TXT C:\003.TXT D:\002.TXT D:\004.TXT D:\005.TXT |
Output Sample: |
I want to merge D:\002.TXT to C:\002.TXT |
Answer: |
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps. |
Assume the first folder is c:\, second folder is d:\, the file type you need to merge is *.txt 1. ctrl-h open 'replace' window 2. click 'Advanced' page: * in 'insert begin text' entry, enter: * in 'run following for each matched unit' entry, enter: 3. click 'replace', the text with following format is generated: d:\1.txt d:\2.txt ... 4. ctrl-s save to list.txt 5. ctrl-h open 'replace' window * click "Advanced" page, set "Run following at the beginning" to: * select the "Write Mode" between the "Output Page" and "Output File" from ">" to ">>> Column Append" 6. click "Batch..." Button 7. click "Import List" button and import list.txt 8. click "Batch Replace", done! Note: if all filenames in c:\ and d:\ are identical, you can skip step 1 to 4, and pick or drag files from d:\ to "Batch Runner" in step 7 |
Screenshot 1: Replace_Advanced_Window |