How to Remove ReadOnly Attribute on File Using PowerShell?
I have read that post, but when I tried
ls "C:\BAF\SILK\" -recurse -include *.* | Set-ItemProperty -name IsReadOnly -Value $false
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?