How can I programatically remove the readonly attribute from a directory in C#?
var di = new DirectoryInfo("SomeFolder"); di.Attributes &= ~FileAttributes.ReadOnly;
548k questions
547k answers
4 comments
86.3k users