🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Copying a file

#936
From: Asger Joergensen
Date: Fri, 28 Dec 2007 23:01
14 lines
1259 bytes
Hi Jos 
 
 Jos says:
> I can copy a file by reading it and writing a new file. This creates a
> new date.
> 
> It would be much simpler if there were a procedure to copy a file,
> preferably retaining the original date. Does it exist?

Have a look at the Win API SHFileOperation.

Kind regards
Asger 
Technical Details
Message-ID: <MPG.21df9ead56ffc34f9899b7@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!club-internet.fr!feedme-small.clubint.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <h2van3l2cgunb0gp0kp8eka7s4jiet6rdg@4ax.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,c65e2ae66e315db6
X-Google-Attributes: gid10cc67,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Asger Joergensen <junk@Asger-P.dk>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Copying a file
Date: Sat, 29 Dec 2007 00:01:25 +0100
Message-ID: <MPG.21df9ead56ffc34f9899b7@newsgroups.borland.com>
References: <h2van3l2cgunb0gp0kp8eka7s4jiet6rdg@4ax.com>
Organization: Asger-P
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
User-Agent: MicroPlanet-Gravity/2.70.2067
NNTP-Posting-Host: 83.73.201.25
X-Trace: newsgroups.borland.com 1198882880 83.73.201.25 (28 Dec 2007 15:01:20 -0700)
Lines: 14
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!club-internet.fr!feedme-small.clubint.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail