Jump to content

Recommended Posts

Posted

I have to write something for work. Basically it creates a new user group in Windows and then populates the group with users. This is easy enough with Net User and Net LocalGroup through the command line. However once those are created I need to give the group permissions to the files on the computer. What would the best way to give for example read+write only permissions to all files on the computer?

I looked through the forums and didn't see anything that stood out as useful on the subject. Maybe I missed something. Any help appreciated.

Posted

Since you're using DOS command line already, try cacls.exe

I saw that and was looking at it in vista and it says it is now depreciated and you should use Icacls. Is it the same with xp or no?

Posted

Yeah I guess. Both of these CUI tools are pretty complicated syntactically it seems. Should be annoying to play with.

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
×
×
  • Create New...