Changing File Permissions

  • Thread starter Thread starter Walter
  • Start date Start date
W

Walter

I need to know if there is a way that I can send a
command through a login script, that would change
permissions on a file on a machine.

I have students who can access the command.com in the
C:\winnt folder. They only way to prevent their access
is to change the file permissions and deny the student
user group from executing the program. I want to make
that change happen across the school, without having to
touch every single machine.

Any suggestions are certainly welcome.
 
-----Original Message-----



I need to know if there is a way that I can send a
command through a login script, that would change
permissions on a file on a machine.

I have students who can access the command.com in the
C:\winnt folder. They only way to prevent their access
is to change the file permissions and deny the student
user group from executing the program. I want to make
that change happen across the school, without having to
touch every single machine.

Any suggestions are certainly welcome.


.
I might suggest that you take a look at cacls or its "big
brother" xcacls.

That should do the job.

HTH,

Cary
 
Back
Top