Securing share level permissions from the command line

I am looking for a way to create a share from a batch file and then set share level permissions also from the batch file.  Creting the share is easy enough with net share, but I have not yet found a way to set the share permissions from the command line.  Anyone have any ideas?  Thanks in advance.
Who is Participating?
Debsyl99Connect With a Mentor Commented:
Have you looked at:
How to use Xcacls.vbs to modify NTFS permissions
How can I modify share permissions from the command line?
RMTShare download

Deb :))
Since this is the Server 2003 section, you can just use "net share" and do it in one go:
net share Share=C:\Some\Folder /grant:User=Full
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.