🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #8077

Re: how to copy a text file at run time

#8077
From: nicolasr
Date: Thu, 02 Dec 2004 15:17
22 lines
1376 bytes
Hi,

use CopyFile() from the Windows API

CopyFile(existingFileName, newFileName, FALSE);

The current documentation is here:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/base/copyfile.asp


regards,
Nick


> Hi friends, hello ..
>
> How can I copy a *.txt file at run time ?
>
> Thanks in advance ..
>
> 
Technical Details
Message-ID: <41af321c$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <41af2705$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,d0a6638a65eeff29
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "nicolasr" <nicolasrNOSPAMATSIGNgmx.net>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <41af2705$1@newsgroups.borland.com>
Subject: Re: how to copy a text file at run time
Date: Thu, 2 Dec 2004 16:17:45 +0100
Lines: 24
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 80.133.174.186
Message-ID: <41af321c$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1102000668 80.133.174.186 (2 Dec 2004 07:17:48 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail