Reputation: 27
I have two text files:
header.text
has text:*=================================================== * HEADER : bulk *=================================================== * New|New|ON|CRM|Pre *===================================================
body.text
has text:0999|Siebel|Customer5|12345|SA|Cash|test|||||||0|
Need to copy the header file text to body file text and after copying it should look like below:
*=================================================== * HEADER : bulk *=================================================== * New|New|ON|CRM|Pre *=================================================== 0999|Siebel|Customer5|12345|SA|Cash|test|||||||0|
Need batch script to implement this.
Upvotes: 0
Views: 2974
Reputation: 3186
You can append two files using the '+' operator like so...
copy /b header.txt + body.txt destfile.txt
Upvotes: 1