title: When using Set-ItemProperty, how to handle folders and files with dots in their names?
body: <p><a href="https://stackoverflow.com/questions/893167/how-to-remove-readonly-attribute-on-file-using-powershell">How to Remove ReadOnly Attribute on File Using PowerShell?</a></p>
  
  <p>I have read that post, but when I tried</p>
  
  <pre><code>ls "C:\BAF\SILK\" -recurse -include *.* | Set-ItemProperty -name IsReadOnly -Value $false
  </code></pre>
  
  <p>it gives me error and I found out that it is because one of the subfolders have a dot in its name "e.g. Folder.bad". 
  How can this be handled?</p>