Sign in to follow this  
Followers 0
ds10025

Small Script to Change Permissions on user's folder

2 posts in this topic

Hi

I've got about 100 user's folder on Windows 2003.

Each folder is created in the userID

I would like to write a small script to do the following:

While not end of folder list

Read folder name

convert folder name to userid.

Set permission for Userid RWX and all sub-folders

Add system permission & all sub-folders

Add network permssion & all sub-folders

End

Therefore, each folder will have permission for the user, system & network.

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