Example of use “net share” with setting permissions

This command will share Bob`s folder MyFolder with full access permissions for Bob and read only access permissions for Alice:

C:\Windows\system32>net share MyFolder=c:\users\Bob\MyFolder /GRANT:Bob,FULL /GRANT:Alice,READ

Leave a Reply

Your email address will not be published. Required fields are marked *

Protected by WP Anti Spam