|
Answer» I would like to APPEND a file content to anther file such as in a.txt's content: 123 and b.txt's content :456 i would like to append a's content to b's content , the expected result: 123 456
Many thanks You example is a little confusing, you say that you want to append a.txt to b.txt, but the result you show is b.txt appended to a.txt !
However, to append 1 (TEXT, not binary) file to the end of another, do this Type a.txt >> b.txt
The result (in b.txt) would be
456 123
GrahamI tried doing this and it works except for the fact that instead of b.txt being:
456 123
It's:
456123this is another alternative: Code: [Select]c:\> copy a.txt+b.txt c.txt then rename c.txt back to b.txt. (if desired)
|