----- Original Message -----
From: "Andreas Toth" <[EMAIL PROTECTED]>
Sent: Tuesday, February 04, 2003 1:41 PM
Subject: RE: [DUG]: fileopenmode
> For your information, the system doesn't let me copy this file (using
> Explorer) under Windows 2000 either. I would say the system has placed an
> exclusive lock on it.
>
> I don't think there's much you can do to access this file short of booting
> up under Linux and mount the partition containing the locked file(s) and
> copy it that way. Another option would be to Ghost the drive and use Ghost
> Explorer to get access to the file...
The Backup program they're using in WinXP gets around the problem of locked
files by using the Volume Shadow Copy Service. I haven't found anything yet
about the API for it, but from the various blurbs I've seen so far it looks
like a useful tool.
Unfortunately I have no information on how much HD space it takes to make a
shadow copy, or what the API is, or anything else. Might be worth
investigating though.
--
Corey Murtagh
The Electric Monk
"Quidquid latine dictum sit, altum viditur!"
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/