Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 4244
  • Last Modified:

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?
0
jmoody
Asked:
jmoody
1 Solution
 
Lee W, MVPTechnology and Business Process AdvisorCommented:
0
 
jmoodyAuthor Commented:
Thanks. Is this by default on all winxp computers?
0
 
qz8dswCommented:
Hello jmoody,

It's on Win XP Professional.
I'd doubt it's on XP Home/media edition but could be wrong.

Regards,

qz8dsw
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
and235100Commented:
Xcacls is actually a better tool - with more options:
http://support.microsoft.com/kb/825751
http://support.microsoft.com/kb/318754
0
 
and235100Commented:
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.
0
 
Lee W, MVPTechnology and Business Process AdvisorCommented:
xcacls is unsupported so I would advise caution before using.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now