Re: Script to create a directory and put permissions to it by DJP
DJP
Fri Aug 19 23:01:56 CDT 2005
I do a similar sort of thing using CACLS.vbs. This doesn't require a Y to
confirm. It sounds like you might be using CACLS.exe from the resource kit.
Do a search on the Microsoft site for CACLS.vbs and try using that.
"Clay Calvert" <ccalvert@Wanguru.com> wrote in message
news:0a1dg1th9spd2aq3v313kpd7jm8t0fsrao@4ax.com...
> On Fri, 19 Aug 2005 14:51:12 -0400, "Sabo, Eric" <sabo_e@cup.edu>
> wrote:
>
>>That is what we have, do you have to enter "Y" and return for each calcs
>>statement?
>
> If you don't use the "/e" switch then you're likely to get prompted
> for a "Y". A workaround is to use the following:
>
> echo y| cacls Y:\faculty\%1 /T /G %1:F
>
> Clay Calvert
> CCalvert@Wanguru.com
> Replace "W" with "L"