I am trying to edit the permissions of folders that are in folders that are named differently. I am doing cacls commads and icacl commands
The following works:
This doesn't work:Code:cacls c:\test\\Secure /T /E /G "Domain Admins":F
The problem is that I can't use "\\" to apply the script to all directories in C:\test.Code:icacls c:\test\\Secure /grant "__Project Managers":(OI)(CI)(WO)
Is there a way to put a wildcard inbetween the "\\"?
I have tried everything that I know of and have been looking through forums for hours and hours. Any help is appreciated. THANKS!!


Reply With Quote





