Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

537.Advanced search and replace -- How to join hundreds of columns in different files into one csv file?

User: editor -- 2010-06-16
Hits: 58
Type: Advanced search and replace   
Search all Advanced search and replace examples
Description:
How to join hundreds of columns in different files into one csv file?
Input Sample:
file1:
a1
a2
a3
..
file2:
b1
b2
b3
...
file3:
c1
c2
c3
...
file4:
...
Output Sample:
output.csv
a1,b1,c1,d1,...
a2,b2,c2,d2,...
a3,b3,c3,d3,...
....
Answer:
Hint: You need to Download and install "Replace Pioneer" to finish following steps.
1. ctrl-h open "Replace" dialog
(1) set the write mode ">" to ">>> Column Append" between the "Out page" and "Output File" entry.
(2) click "Settings" page:
set "Word Delimiter-Output Delimiter to "Other", and enter a comma "," at the entry followed.
2. click "Batch ..." to open "Batch Runner" window
(1) drag all files of file1.txt, file2.txt, ... from "Windows File Browser" to the "Batch Runner" window
(2) check "set output filename" option, and change the entry followed to "output.txt"
(3) click "Batch Replace", all files will be joined together to output.txt, with comma as separater.

Similar Examples:
How to merge two or more csv files with different columns into one file? (63%)
How to join every n lines into 1 line in a text file? (57%)
How to split many merged avi files into original avi files? (56%)
How to parse all the fields in different segment from a text file? (54%)
How to batch rename files in different folders and move them to a common folder? (54%)
How to join groups of lines together in a text file according to user defined  rule? (53%)
How to generate 12 columns EMA with different periods based on "close" value? (52%)
How to split files by columns with fixed widths, and save to files with sequence? (51%)

Check Demo of Advanced search and replace