Код:
echo y | cacls *.exe /T /D Все
http://support.microsoft.com/kb/135268
echo y| cacls filename /g username:permission
NOTE: Do >>>>>>not type a space between the "y" and the pipe symbol (|), otherwise, Cacls.exe fails to make the permission changes.
пробела между y и | быть не должно
Сам наткнулся
![Smile](images/smilies/new/smile.gif)