[snip] PT> Obviously the DELETE permission is missing. You call SetFileAttributes PT> with ~FILE_ATTRIBUTE_READONLY which shoul enable the file for reading | deleting -------+ PT> but it does not - I suppose this is why: [snip]