Search : in
By :

Combining specific text files based on a list

NewToThis, on Oct 15, 2009 3:53:58 am BST 
 Report this message to moderators

Hello,

I want a .bat file that will copy all the lines from specific text files which I will list in a separate FILELIST.txt file.
Everything will be in one directory..

For example
aa.txt
bb.txt
cc.txt
FILELIST.txt
MERGEFILE.bat

If I want to merge aa.txt and bb.txt together
All FILELIST.txt will have is:
aa.txt
bb.txt

Thanks in advance!

Configuration: Windows XP
Firefox 3.5.3

Best answers for « Combining specific text files based on a list » in :
Writing in batch in text file Show Writing in batch in text file To write in a file text, you just have to use a redirect: echo text > output_file.txt To write in an existing file: echo " Write at the end of the file ">> output_file.txt
Download Join (Merge) Text Files Software Show Description The application is designed by Sobolsoft. Simple and easy to use, the application has been awarded from various places. Join Text Files a tool that enables you to merge several files. It allows you to merge multiple text files into a...
Inserting text in a file ShowInserting text in a file Introduction Syntax Introduction It is sometimes useful to insert text in the header of one or more document (s) or in a specific part of the document (before or after a specific line). The publisher of...
Unable to delete file: Argument list too long ShowUnable to delete file: Argument list too long Solutions Xargs Command find loop for (bash) Program Perl When trying to delete a file , you receive the following error message : bash: /bin/rm: Argument list too long This is...
[MySQL]Loading a text file into ue table Show[MySQL]Loading a text file into ue table To load a text file as follows: $ tail /home/user1/test.txt 'name1',1,9 'name2',2,3 'name3',3,54 'name4',4,2 'name5',5,9 In a table defined as follows: CREATE TABLE...
Download Text to MP3 ShowText to MP3 allows to convert text files into WAV or MP3 files. It can solve your daily problem about electronic texts. With this software published by United Research Labs, you can listen to your documents as MP3 files in 11 different languages....
Download Easy File Joiner ShowEasy File Joiner is simply a program which allows you to join files. This kind of software is very practical to join a bulky file which has been split into into several parts or to combine several text or MPG files or files.Easy File Joiner only...
HTML Markup ShowHTML, A Markup Language HTML is not a programming language. Rather, it is used for describing the layout and format of content, written in the form of simple text. An HTML page is a basic text file containing tags for specifying text format,...
HTML forms ShowForms Interactive forms let web page authors give their pages interactive elements, such as for receiving messages from their readers, much like the reply cards found in some magazines. The reader enters information by filling in fields or clicking...