|
Answer» how to combine 2 or more file.txt
i used this: TYPE A.txt > C.txt echo. >> C.txt type B.txt >> C.txt
and this: copy file1.txt + file2.txt file3.txt
and i got this:
1kallo1209:guacharaca1209 2ivanmanoel98:manoel 3karolmelendez:9705191905974romeucastro:hilda102030 5franciellyfep:dream2008 6lethiciamarfil:94071800
I want to look like this:
1kallo1209:guacharaca1209 2ivanmanoel98:manoel 3karolmelendez:970519190597 4romeucastro:hilda102030 5franciellyfep:dream2008 6lethiciamarfil:94071800
You should probably go BACK to the program that created your input and figure out why it is not ending the last line with a CR\LF pair.
Otherwise you will have to use a FOR /F command and echo the token variable to a new file.no IDEA man , i am noob thanks anyway
Quote from: siriguk on May 12, 2015, 12:51:54 PM how to combine 2 or more file.txt
i used this: type A.txt > C.txt echo. >> C.txt type B.txt >> C.txt
and this: copy file1.txt + file2.txt file3.txt
and i got this:
1kallo1209:guacharaca1209 2ivanmanoel98:manoel 3karolmelendez:9705191905974romeucastro:hilda102030 5franciellyfep:dream2008 6lethiciamarfil:94071800
I want to look like this:
1kallo1209:guacharaca1209 2ivanmanoel98:manoel 3karolmelendez:970519190597 4romeucastro:hilda102030 5franciellyfep:dream2008 6lethiciamarfil:94071800
You could create a file NAMED crlf.txt using notepad. OPEN that file and press the Enter key once then save the file. If you wish to add a CR/LF to the end of a file you can simply use:
In your example, if you do
copy file1.txt + crlf.txt + file2.txt file3.txt
it should do what you want.is working, thanks
|