I was trying to import data into Excel the other day, when I noticed that Excel only allows me to import 1 text file at a time. Because I’m too lazy to import them 1 by 1, I found this command line on how to combine data from multiple text files into a single file 😀
Lets say you have four text files a.txt, b.txt, c.txt and d.txt and you want to merge the contents of all the text files into one target.txt. To merge text files open the MS DOS command prompt and change the directory to where all files are stored. Now issue command : copy *.txt target.txt
This will merge all the text files in the directory and create a new file named target.txt
Source: http://www.thetechhub.com/2010/04/combine-text-files-into-one-with-single.html
Related Posts
June 13, 2011
The Unofficial LEGO Minifigure Catalog
The LEGO Minifigure Catalog promotion video that I was making is up and running! The purpose of the video is to show how extensive the book actually is with over 3600 minifigure photographs with professional quality, interconnected metadata and theme taxonomy.
October 31, 2013
Puzzle Football Indiegogo Campaign!
The game that I've been working over the last couple of months as an interface designer and pixel artist just launched its Indiegogo funding campaign!
February 4, 2012
[How] Flash: Seek() & PlayHeadTime() Accuracy
Fixing the inaccuracy of seek() function using key frame distance
May 8, 2011