thanks all for the great input. I appreciate it.
"James" <noone[ at ]nowhere.com> wrote in message news:%230IcIBqRJHA.5344[ at ]TK2MSFTNGP06.phx.gbl...
[Quoted Text] >I was putting a space after y in: echo y | cacls... > > echo y| cacls... without the space works, of course :) > > regardless, still interested in hearing about others experience using this > and/or wmi for scripting ntfs permission managment tasks. I have not > looked into the wmi route but do recall an example somewhere that looked > overly complicated for the goal at hand... I'm thinking cacls is much > simpler, with the only negative being I need to shell out from wsh. > > thanks > > "James" <noone[ at ]nowhere.com> wrote in message > news:Or$atypRJHA.4772[ at ]TK2MSFTNGP06.phx.gbl... >> cacls or wmi for managing ntfs permissions? >> >> I was going to go with cacls but having an issue using 'echo y | >> cacls...' command? my cacls command is good, it works until I try to echo >> y into it so it can go without user interaction. Anyone know whats up >> with that? >> >> how is wmi for this? haven't looked yet, just looking for others opinions >> based on their experiences using either of these >> >> thanks >> > >
|