Path: utzoo!attcan!uunet!husc6!purdue!iuvax!bobmon From: bobmon@iuvax.cs.indiana.edu (RAMontante) Newsgroups: comp.binaries.ibm.pc.d Subject: Re: **** WANTED **** BINARY FILE COPY PROGRAM Message-ID: <59873@iuvax.cs.indiana.edu> Date: 22 Sep 90 15:44:00 GMT Organization: malkaryotic Lines: 21 MSDOS DEBUG will do this, albeit not "conveniently". Give yoyr source file a name extension that isn't either "com" or "exe", load it into DEBUG, then 1) name a target file: N target.bin 2) put the desired writing length in the CX register: RCX 1234 (That was a hex value. Upper bits go into the BX register, if you need to write more than 0xffff bytes.) 3) write starting at the desired offset in the file: W 0100 4) quit: Q You now have a new file, named "target.bin", that is 0x1234 (4660 decimal) bytes long and starts at byte 0x100 (256 decimal) of the source file. Consult your manual for more information.