how to merge 2 txt files using batch script

July 21, 2009 at 04:09:55
Specs: Windows XP
Hi
I have 2 text files - Customer1.txt and Customer2.txt.
Both files have same data format.
i need to merge these 2 files such that data from Customer2.txt is appended to data from Customer1.txt and a new file Customer.txt is created.
The newly created file has to be moved to a specific location.

Also is it possible to send an email incase any of the file is missing.

Appreciate any help on this

Rgds
Nirav


See More: how to merge 2 txt files using batch script

Report •


#1
July 21, 2009 at 04:50:51
type Customer1.txt>> \some\place\Customer3.txt
type Customer2.txt>> \some\place\Customer3.txt

To email, you need a command line emailer.


=====================================
If at first you don't succeed, you're about average.

M2


Report •
Related Solutions


Ask Question