I am trying to setup a directory on every PC in my company with specific rights. I have figured this out on a PC by PC basis by applying the following code:
-------------------------------------------------
MD "\\spghhr02\c$\Documents and Settings\All Users\Application Data\Visionsoft"
Shell '%comspec% /c \\spghmbrsrv01\netlogon\XCACLS "\\spghhr02\c$\Documents and Settings\All Users\Application Data\Visionsoft" /Y /C /T /G Everyone:F'
----------------------------------------------------
What I would like to do is have the SPGHHR02 be a variable that I can either be prompted for OR pulled from a text file containing the PC names in my company.
Thanks for any insight you can bring my way
_________________________
Thanks ~ Trox
John Wayne's not dead - he's frozen.
And as soon as we find the cure for cancer
we're gonna thaw out the duke and
he's gonna be pretty pissed off!
~Dennis Leary~