Hi,
On Fri, 21 Nov 2008, Bryan Donlan wrote:
I'm not overly familiar with the windows API, but wouldn't passing
FILE_SHARE_DELETE | FILE_SHARE_READ in the dwShareMode argument of
CreateFile() be enough to allow rename/deletion of the file in question
while it is mapped?
A very quick Google research already revealed that your suggestion has any
meaning _only_ for NTFS.
So that leaves FAT behind.
I could also imagine that Windows 2K does not even bother heeding those
flags (it speaks volumes about Microsoft's documentation that you cannot
find out if that is the case spending less than 15 minutes, and possibly
more than that).
So I think your objection is irrelevant, sorry,
Dscho