VOGONS


First post, by Marting

User metadata
Rank Newbie
Rank
Newbie

Hello,
I need to append text files similar way like in DOS command copy a+b a (append file "b" to "a"), but it doesn't work to me in DOSBOX MB6.
Any ideas what shell I do?

Reply 1 of 4, by VileR

User metadata
Rank l33t
Rank
l33t

Works fine if you simply use "copy a+b" instead. "a" is assumed as the destination.

example:

gMl4Y.png

[ WEB ] - [ BLOG ] - [ TUBE ] - [ CODE ]

Reply 2 of 4, by vulturu39

User metadata
Rank Newbie
Rank
Newbie

I'm sorry, not work this exemple.

Reply 3 of 4, by weedeewee

User metadata
Rank l33t
Rank
l33t

Yes it does.

C:\>copy con A.txt A ^Z 1 file(s) copied. […]
Show full quote

C:\>copy con A.txt
A
^Z
1 file(s) copied.

C:\>copy con B.txt
BB
^Z
1 file(s) copied.

C:\>copy A.txt+B.txt C.txt
A.txt
B.txt
1 file(s) copied.

C:\>type C.txt
A
BB

C:\>copy A.txt+B.txt
A.txt
B.txt
1 file(s) copied.

C:\>type B.txt
BB

C:\>type A.txt
A
BB

C:\>

for binary files do a copy /B ...

Right to repair is fundamental. You own it, you're allowed to fix it.
How To Ask Questions The Smart Way
Do not ask Why !
https://www.vogonswiki.com/index.php/Serial_port