Date: Tue, 7 Nov 2000 13:25:54 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: djgpp AT delorie DOT com Subject: Re: Partial file overwrite In-Reply-To: <8u89ok$r75$1@nnrp1.deja.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Tue, 7 Nov 2000 stryyker AT my-deja DOT com wrote: > how do I overwrite a part of a binary file without disturbing the rest? Open the file in read/write mode, seek to the place where you want to change, write the new contents, then close the file. Does that do what you want?