Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!apr!las From: las@apr.UUCP (Larry Shurr) Newsgroups: comp.sys.ibm.pc Subject: Re: Chopping an existing file Message-ID: <472@apr.UUCP> Date: 5 Aug 88 17:05:01 GMT References: <290@ncextb.ncsu.edu> Reply-To: las@apr.UUCP (Larry Shurr) Distribution: na Organization: APR, Columbus, OH Lines: 16 In article <290@ncextb.ncsu.edu> erdman@ncextb.ncsu.edu (erdman) writes: > I am looking for a way to shorting the length of an existing file >without re-writing the whole file. I know it can be done, dBase III's >"pack" appears to do this. Are there any reliable ways to do this? >Any help would be appreciated. Seek to the position in the file where you wish to truncate it and then request a zero-length write. regards, Larry -- Who: Larry A. Shurr (...!osu-cis!apr!las or try {cbosgd,ihnp4}!cbema!las) What: "The only thing worse than being talked about is not being talked about." Where: _The Portrait of Dorian Grey_ - Oscar Wilde Disclaimer: The above is not necessarily the opinion of APR or any APR client.