Folder permissions Change CACLS

(imported topic written by bendernet91)

Witnessed a few entries about this topic with examples however non of them worked. Here is what is failing. Trying to set Change permissions on C:\folder

waithidden cmd.exe /C “c:\windows\system32\cacls.exe” “c:\folder” /t /e /g Users:C

Too bad this product cannot execute batch files with the wizard or I would do it that way. kinda sux!

Please help!

Thanks,

Steve

(imported comment written by MattBoyd)

Hey Steve,

You can put batch files in action script and execute them like this: http://forum.bigfix.com/viewtopic.php?pid=20876#p20876 .

The CACLS command is being deprecated… you may want to look into ICACLS.EXE instead: http://technet.microsoft.com/en-us/library/cc753525(WS.10).aspx

(imported comment written by bendernet91)

I was hoping to use cacls in a command line. Anyone care to help with the code above?

(imported comment written by bendernet91)

The above code does work. Just needed a new test machine. Ooooops!