I want to be able to create a share with predefined share permissions from a command line. I can create the share with
net share sharept=d:\test\dir /unlimited
I would now like to define that the group employees has read access to this share. This needs to be done at the command line level NOT through the gui.
I know I could control the security changing the directory / file permissions with cacls but I want to change the share permissions
Thanks In Advance