Best way to copy files without Read-Only option
OlavB at yahoo.com
Tue Sep 5 16:37:31 CEST 2000
I should have though about that. But still - now I can't set the DATES
(I would like that the copied file has the same dates as the original).
--And also I suspect it is not really efficient.
Guess I shuld write a C-function calling the Windows API.....
Rainer Deyke wrote:
> "Olav Benum" <Olav.Benum at bigfoot.com> wrote in message
> news:39AE7EAE.51E3E692 at yahoo.com...
> > However, I have the problem that when the source is "Read-only" the new
> > file
> > is also read-only, creating problems later.
> Open source file and destination file. Read from source file; write to
> destination file. When all data has been copied, close both files.
> Rainer Deyke (root at rainerdeyke.com)
> Shareware computer games - http://rainerdeyke.com
> "In ihren Reihen zu stehen heisst unter Feinden zu kaempfen" - Abigor
More information about the Python-list