Sign in to follow this  
Followers 0
jp10558

Set folder permissions

2 posts in this topic

Is there a way to set folder permissions from AutoIT scripts?

Basically I have a problem, for some subset of users, I need to have a folder C:\folder1\username. But for security I cannot allow Domain Users to write to C:\. So I have a script that can pull @Username, assign it to a variable, and then runasset(adminbla) and dircreate blah. But I would expect that the user would not have permissions to the username folder... What would be perfect would be to set owner of username to $username variable I got, but I'm not really sure how to do that except trying to script the entire GUI which I don't want to do.

Any Ideas?

Share this post


Link to post
Share on other sites



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0