Using the command "net help share", you will see that the syntax is as follows:
net share sharename=drive:path
For example, if I had a folder S: \ Public, which I would like to divide as "Public", the command:
net share Public=s:\Public
The above command will automatically provide "All" read permissions only. If you want to give everyone with full control the command:
net share Public=s:\Public /GRANT:Everyone,FULL
Keep in mind that NTFS permissions are still applied, so even if you could provide EVERYONE with FULL access to the share, you still have to check NTFS security permissions to make sure the right people have permission.
Dave lucre
source share