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...


-Andreas

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Alistair George
Sent: Tuesday, 4 February 2003 12:45
To: Multiple recipients of list delphi
Subject: [DUG]: fileopenmode


Hello Corey,
Have tried that. For example, under WinXP go to
C:\WINDOWS\system32\config\DEFAULT
(filename DEFAULT) and try to copy that. No joy I am afraid.
Al+
CM> The share mode affects the rights that other programs have when they try
to
CM> open the file AFTER you do.  If another program, or the system, already
has
CM> the file open in exclusive mode then you can't do much about that.

CM> David's solution is about the best.  Making a copy of the file is about
the
CM> simplest way to get at the data.  Copy it, read the copy into your
backup
CM> with the same details (filename, attribs, etc) as the original, then
kill
CM> the copy.
--
Regards,
 Alistair+

---------------------------------------------------------------------------
    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/

---------------------------------------------------------------------------
    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/

Reply via email to