consolidating ascii/text files into one

I have a Software package that requires vector data in the form of text / ascii files.  There are many files that cover a small geographical area.  I want to combine these files into one file. Is there any way other than pasteing to get
all the info into one file.  Maybe a software or something? When I say many we are talking hundreds.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

In what operating system?
If these vector files all have the same extensions do the following.
1) Open a DOS Prompt(Commant Prompt)
2) Switch to the directory where the vector files are.
3) Type in the following :
Note : Replace VEC with the extension for your vectors.  Also ensure that the file that you are copying to, NEW.VEC in my example, does not exist.
Here is a way you can do it, even if files are very different names, assuming you at least move the files into one directory...

from a dos prompt:

dir *.* > merge.bat

edit merge.bat as follows

make each line say

type {filename}  >> bigfile.txt

where {filename} is the name of each file you want to merge. The >> is a pipe command from dos that directs the output into bigfile.txt. A single > will clear out the file and start from scratch, so, if you want make the first line say

type {filename1} > bigfile.txt

(Your other option is to erase bigfile.txt before you get started each time you build it).

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
After editing the file and saving it, just type


at the command line and hit enter and you'll have your file
This question was awarded, but never cleared due to the JSP-500 errors of that time.  It was "stuck" against userID -1 versus the intended expert whom you awarded.  This corrects the problem and the expert will now receive these points; points verified.

Please click on your Member Profile and select "View Question History" to navigate through any open or locked questions you may have to update and finalize them.  If you are an EE Pro user, you can also choose Power Search to find all your open questions.

This is the Community Support link, if help is needed.  Also a question is posted there specific to these changes that apply to the experts here.  Also, I am including the link to our All Topics, since many new ones have recently been added.
Thank you,
Moderator @ Experts Exchange
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.