Hi
I need to iterate a folders files and change every files attribute, if the folder has sub folders they should also be processed, can anyone show how to do this?
Hi
I need to iterate a folders files and change every files attribute, if the folder has sub folders they should also be processed, can anyone show how to do this?
See these 3 articles to get you where you need to go.
Files and Folders Part 1-3
‘technet.microsoft.com/en-us/library/ee176983.aspx’
‘technet.microsoft.com/en-us/library/ee176985.aspx’
‘technet.microsoft.com/en-us/library/ee176988.aspx’
For attributes see this:
‘Use a PowerShell Cmdlet to Work with File Attributes - Scripting Blog’