Path: utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!mailrus!cornell!calvin.spp.cornell.edu!richard From: richard@calvin.spp.cornell.edu (Richard Brittain) Newsgroups: comp.sys.ibm.pc Subject: Re: 4DOS file concatenation problem -- WARNING! Message-ID: <1990Mar28.043357.3163@calvin.spp.cornell.edu> Date: 28 Mar 90 04:33:57 GMT References: <2143@darkstar.ucsc.edu> Reply-To: richard@calvin.spp.cornell.edu (Richard Brittain) Distribution: na Organization: Cornell Space Plasma Physics Group Lines: 22 In article <2143@darkstar.ucsc.edu> mee@ucscb.UCSC.EDU (Kevin Kahl) writes: >It seems that 4DOS version 3.0 has a new bug. I wrote a device driver that >is in two parts. These are the commands that I used (in a batch file under >4DOS v2.2) to concatenate the to files into one: > > copy /b password.bin+password.txt password.sys > >The resulting file does not include everything! I played with this some, and found that: copy /b src1+src2 target only src2 treated binary - as above copy /b src1+src2 target /b both files treated as binary copy src1+src2 target /b both files treated as ascii copy src1 src2 target appends as if +, src2 treated as binary The actual specification for "copy" is so confusing (IMHO) that it's difficult to see which lines are in error Richard Brittain, School of Elect. Eng., Upson Hall Cornell University, Ithaca, NY 14853 ARPA: richard@calvin.spp.cornell.edu UUCP: {uunet,uw-beaver,rochester,cmcl2}!cornell!calvin!richard