Re: copy locked files

2017-08-31 Thread Steven D'Aprano
On Thu, 31 Aug 2017 00:18:39 -0700, coreylean1 wrote: > On Monday, June 18, 2007 ^^ > No please! I have tried using shadow copy You are replying to a ten year old message. I very much doubt the original poster (or anyone else for that matter) still cares. They're eit

Re: copy locked files

2017-08-31 Thread coreylean1
On Monday, June 18, 2007 at 8:20:24 PM UTC+5:30, rubbis...@web.de wrote: > Hello, > > do you know of any way to copy locked / opened files under win xp? > I know there is something like "Volume Shadow Copy" but I don't know > how to use it. > Maybe someone already has a python solution? > > > Ma

Re: copy locked files

2007-06-18 Thread Jay Loden
Adam Pletcher wrote: > Do you mean files marked in-use by the OS, like DLLs used by an open > application? > > There shouldn't be anything preventing you from copying in-use files, or > even read-only files if that's what you meant: > > import shutil > shutil.copy('C:\\my_application\\test.

Re: copy locked files

2007-06-18 Thread rubbishemail
Hi Adam, On 18 Jun., 18:41, "Adam Pletcher" <[EMAIL PROTECTED]> wrote: > Do you mean files marked in-use by the OS, like DLLs used by an open > application? I dont know the exact name, but some programs totally lock the files, like Visual Studio shutil.copy('C:\\a\\test\\test.ncb','C:\\b\test.n

RE: copy locked files

2007-06-18 Thread Adam Pletcher
;C:\\new_folder\\test.dll') Although you can't move or delete an in-use file, AFAIK. - Adam > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > On Behalf Of [EMAIL PROTECTED] > Sent: Monday, June 18, 2007 9:50 AM > To: python-list@python

copy locked files

2007-06-18 Thread rubbishemail
Hello, do you know of any way to copy locked / opened files under win xp? I know there is something like "Volume Shadow Copy" but I don't know how to use it. Maybe someone already has a python solution? Many thanks Daniel -- http://mail.python.org/mailman/listinfo/python-list