title: removing readonly from folder, its sub folders and all the files in it
body: <p>is there a way that i can remove the property "read only"?</p>
  
  <p>i tried this:</p>
  
  <pre><code>var di = new DirectoryInfo("C:\\Work");
                  di.Attributes &amp;= ~FileAttributes.ReadOnly;
  </code></pre>
  
  <p>but it does not do the job</p>