From: buers AT gmx DOT de (Dieter Buerssner) Newsgroups: comp.os.msdos.djgpp Subject: Re: files Date: 27 Mar 2000 15:42:38 GMT Lines: 9 Message-ID: <8bnvhd$5bs2f$1@fu-berlin.de> References: NNTP-Posting-Host: dialup-212.162.14.5.frankfurt1.mik.net (212.162.14.5) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: fu-berlin.de 954171758 5632079 212.162.14.5 (16 [17104]) X-Posting-Agent: Hamster/1.3.13.0 User-Agent: Xnews/03.02.04 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com fubu36 AT stny DOT rr DOT com (John) wrote: >[...]. Aftrer this is done how would I delete the old file and >rename the new one to the correct name? thanks You can use remove() and rename(), both Standard C functions. A description of these functions can be found with "info libc". -- Dieter