Concatenating (Merging) Text Files in Windows


Update:  File Merge has been updated with a feature that will enable you to get a line count for each file.   I’ll keep the original version linked and add a link to the updated one below that.  Also, check out the screen shots.

Recently I’ve been working with a lot of text files that are alike in data structure.  Sometimes I have to place these files in a database, other times I have to extract information from them.  Whatever the case it’s always easier to deal with this data if it is in one large file.  I’ve been using cygwin to accomplish this task (I love this tool), but various reasons, I decided to make a small executable with a user interface that will handle this task.

I hope that you find this little utility useful.  I’ve zipped up the source code and executable.  The executable needs .NET framework 3.5 to run, but if you don’t have that framework on your computer, you can recompile the code under your version of Visual Studio and Framework.  If you have a specific question about this post a comment.  As soon as I get some more free time, I’ll create executables under Framework 2.0 since most Windows users are likely to have this.

Enjoy some screenshots of this program.  If you have any questions or need help please ask by commenting.  One more thing, this program is free and you can do what you want with it, but try not to ruin it for everyone.  – Thanks. =)

To download click here    Download updated File Merge: click here

This slideshow requires JavaScript.

Images of the updated File Merge Program (under Windows XP)

Main File Merge window

Select Files to count records for or Merge

Line count for each file selected displayed in Message Box

5 Comments

Filed under Computer - Technical, Software Programs

5 responses to “Concatenating (Merging) Text Files in Windows

  1. Dejan

    Alot of Win users are in demand for the tool like this – as i found googling. So im puzzled by lack of comments.
    Just merged 5+ gig wordlist with 25% CPU load on avg and 11 mb of RAM used.
    Thanks for this excellent tool, but a progress bar would be nice…

  2. Slava

    Excellent tool–simple, useful, hasn’t crashed or messed anything for me. Many thanks!!!

    LBPSlava

  3. Beng Tang

    Excellent tool, just what I was looking for.

Comment on this

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s