Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!snorkelwacker!apple!agate!darkstar!ucscb.UCSC.EDU!mee From: mee@ucscb.UCSC.EDU (Kevin Kahl) Newsgroups: comp.sys.ibm.pc Subject: 4DOS file concatenation problem -- WARNING! Keywords: 4DOS 3.0 Message-ID: <2143@darkstar.ucsc.edu> Date: 27 Mar 90 23:02:02 GMT Sender: usenet@darkstar.ucsc.edu Reply-To: mee@ucscb.UCSC.EDU (Kevin Kahl) Distribution: na Organization: University of California, Santa Cruz; CATS Lines: 19 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! "password.bin" is 859 bytes in length. "password.txt" is 4000 bytes. The resulting "password.sys" is only 4083 bytes, though. Under 4DOS 2.2, the resulting length was 4859 (as it should be). Upon further investigation, I found that the 84th byte in "password.bin" is a EOF character, but the "/b" directive should have caused 4DOS to ignore this. Watch out for this problem! Before I discovered the bug, my device driver file crashed my system because not all of the code was there! I will try to alert JP Software of this problem. -Kevin Kahl mee@ucscb.ucsc.edu