Changed the folder to the folder you use and it works great.

 Code:
Break on

Shell 'xcacls.exe "c:\program files\infostrait" /E /G "domain\group":F'


The user running the code should also have permission on c:\program files. if not he/she cannot set permissions on sub folders. It does shout a bit when checking the permissions on the folder that they are not in the correct order. You will have to watch out for that.


Edited by Mart (2007-05-11 03:49 PM)
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.