Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watmath!clyde!rutgers!husc6!sri-unix!hplabs!hp-pcd!hpcvlo!bill From: bill@hpcvlo.UUCP Newsgroups: comp.sys.ibm.pc Subject: Re: Re: Truncating DOS files Message-ID: <1610007@hpcvlo.HP.COM> Date: Mon, 23-Feb-87 12:05:42 EST Article-I.D.: hpcvlo.1610007 Posted: Mon Feb 23 12:05:42 1987 Date-Received: Fri, 27-Feb-87 21:26:44 EST References: <1610006@hpcvlo.HP.COM> Organization: Hewlett-Packard Co., Corvallis, OR, USA Lines: 12 Yup, I said "function 40h". I just checked again, and my 3.2 DOS tech ref says CX=0 will truncate the file for BOTH functions 40h (Write To File or Device) and function 28h (Random Block Write). Aside: is it coincidental that the two file-write functions are numbered 28h and 40h? (28 hex = 40 dec). Bill Frolik hp-pcd!bill Hewlett-Packard Portable Computer Division Corvallis, Oregon