Adding IIS_USRS Permissions to Multiple Directories via Command Line

Hi I am not too proficient with the use of command line, but I have to frequently add the same permissions settings to multiple folders which can be tedious and take extra time.

I was wondering if it is possible to do all these with some sort of script or bat via command line.


C:\MyRootDirectory C:\MyRootDirectory\ParentFolder1 C:\MyRootDirectory\ParentFolder2 C:\MyRootDirectory\ParentFolder2\ChilderFolder1 C:\MyRootDirectory\ParentFolder3

If I wanted to add IIS_USRS with "Modify" permissions to ParentFolder1, ChildFolder1, and ParentFolder3 all in one command line execution and/or script, how would I go about doing that?

Thanks ahead of time!