The NET SHARE command in Windows Server 2003 adds the grant of share permissions.

Prior to Windows Server 2003, when you opened a CMD.EXE window and typed net share /?, you would receive:

NET SHARE
sharename
          sharename=drive:path \[/USERS:number | /UNLIMITED\]
                               \[/REMARK:"text"\]
                               \[/CACHE:Manual | Documents| Programs | None \]
          sharename \[/USERS:number | /UNLIMITED\]
                    \[/REMARK:"text"\]
                    \[/CACHE:Manual | Documents | Programs | None\]
          \{sharename | devicename | drive:path\} /DELETE
When I typed net share /? in a CMD.EXE window on my Windows Server 2003, I received:
NET SHARE 
sharename
          sharename=drive:path \[/GRANT:user,\[READ | CHANGE | FULL\]\]
                               \[/USERS:number | /UNLIMITED\]
                               \[/REMARK:"text"\]
                               \[/CACHE:Manual | Documents| Programs | None \]
          sharename \[/USERS:number | /UNLIMITED\]
                    \[/REMARK:"text"\]
                    \[/CACHE:Manual | Documents | Programs | None\]
          \{sharename | devicename | drive:path\} /DELETE
allowing you to assign permissions to multiple user and groups without reverting to other tools, like RMTShare.exe or SubInACL.exe.


Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish