1
Let me start this by mentioning that I am new into this programming in batch files. That said, I would like to merge two files, and I started with the following code:
copy Test1.sol + Test2.sol Test.sol /B
This code simply puts the content of Test2.sol at the bottom of Test1.sol, which is not what I want to do. Instead I would like to put the content of Test2.sol in a specific place in Test1.sol.
To make it more clear. Let's say that the content of Test2.sol is:
401 TEXT1 12345 123444
401 TEXT2 12345 123444
401 TEXT3 12345 123444
And the content of Test1.sol is:
**********************
** HEADER 1 **
**********************
Message1
Message2
**********************
** HEADER 2 **
**********************
**********************
** HEADER 3 **
**********************
Message3
Message4
How can I put the content of Test1.sol under HEADER 2 in Test2.sol - like the other messages?
Thanks in beforehand!
I don't think batch files can do this. VBScript can do it though – LPChip – 2016-12-28T13:02:19.707
Dang it. Maybe you can help me with another thing then. Do I have to create a new thread for that purpose - or can I ask you here? – EMS – 2016-12-28T13:05:19.650
if its not related, create a new post. – LPChip – 2016-12-28T13:07:06.133
@LPChip That could be done with a batch file but it would be a one-off solution and very complicated - I'm not prepared to spend that much time writing it :) – DavidPostill – 2016-12-28T13:21:03.323
Unfortunately, I can only create a new thread every 40 minutes. As this is a bit urgent, is it possible that I can send a private message from this homepage? – EMS – 2016-12-28T13:31:29.657