Jump to content
Sign in to follow this  
ds10025

Small Script to Change Permissions on user's folder

Recommended Posts

ds10025

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
ptrex

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  

×