Script/Batch changing file permissions?
Script/Batch changing file permissions?
(OP)
I need to script/batch a way of changing file permissions on a whole directory tree. Any ideas on how to do this?
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS Contact USThanks. We have received your request and will respond promptly. Come Join Us!Are you a
Computer / IT professional? Join Tek-Tips Forums!
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail. Posting Guidelines |
Script/Batch changing file permissions?
|
Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.
Here's Why Members Love Tek-Tips Forums:
Register now while it's still free!
Already a member? Close this window and log in.
RE: Script/Batch changing file permissions?
----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
RE: Script/Batch changing file permissions?
RE: Script/Batch changing file permissions?
----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
RE: Script/Batch changing file permissions?
htt
Place it in \Windows\System32
SUBINACL /SUBDIRECTORIES file_mask action=User or Group=PERMISSION
Example:
subinacl /subdirectories %systemdrive% /grant=administrators=f /grant=system=f
This would give full permissions to the drive where XP is installed to the Group Administrators and the User SYSTEM
____________________________
Users Helping Users
RE: Script/Batch changing file permissions?