jmoody
asked on
Change file permissions in a batch file
I would like to create a batch file to change folder permissions on a folder and then copy those permissions to all of the files and folders below it. Is that possible in a simple batch file?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Hello jmoody,
It's on Win XP Professional.
I'd doubt it's on XP Home/media edition but could be wrong.
Regards,
qz8dsw
It's on Win XP Professional.
I'd doubt it's on XP Home/media edition but could be wrong.
Regards,
qz8dsw
Xcacls is actually a better tool - with more options:
http://support.microsoft.com/kb/825751
http://support.microsoft.com/kb/318754
http://support.microsoft.com/kb/825751
http://support.microsoft.com/kb/318754
The only issue is that this would have to be distributed across your network first - i.e. installed before being able to be used in a batch file.
xcacls is unsupported so I would advise caution before using.
ASKER