1.

Solve : Permission Batch file?

Answer» GOOD Day,

I am running windows XP Professional in an active directory environment.
On each computer I have a t:\ drive which is used to allow students and faculty to save there work while the other area of the computers are frozen with a program called deep freeze.

what I would like to do is right script VBS or Batch file that would give the everyone group read and write permission to the t:\ drive.

any one have any advice .

THANKS for your help
Well, you can try use some "hidden" commnads in CMD - I have only ued them once, and that was to set J:\ to be like a ROM drive

I can't remember where I found it....Quote from: Ryder17z on May 14, 2008, 11:03:04 AM
Well, you can try use some "hidden" commnads in CMD - I have only ued them once, and that was to set J:\ to be like a ROM drive

I can't remember where I found it....

That's such a very helpful reply! I've gotten this to work on my computer, but I'm not 100% sure if it is what you want:

Code: [Select]Echo Y| cacls %1 /t /e /c /g %2:F

place in a batch file, and call that batch file like so:

Code: [Select]batch <folder> <username>

in your case would be "everyone".

two reasons I think it doesn't meet your requirements:

- it PROCESSES files, not the entire drive
-it also seems to only work with the files in the ROOT dir (when given a root dir)



I'll use my physic powers: T:[$TEACHERS$], J:[CLASSES], W:[WINOLDAP] and more

was I right? do I win a cookie?


Discussion

No Comment Found