Removing readonly files on windows with std.file

Walter Bright newshound2 at digitalmars.com
Mon Mar 9 22:55:10 UTC 2020


On 3/7/2020 12:01 PM, Jonathan Marler wrote:
> We could modify std.file.remove to be able to remove readonly files,

This is definitely the wrong approach for the default behavior.

It should fail and the app then remove the readonly attribute and try again, or 
the remove() should have a "force" non-default option.



More information about the Digitalmars-d mailing list