As far as I\'m aware, this is done via the net command.
net
However, the help section isn\'t very helpful, as it only shows me the secondary options and not
C:\> net help share
C:\>
For example:
To share a computer's C:\Data directory with the share name DataShare and include a remark, type: net share DataShare=c:\Data /remark:"For department 123."
To share a computer's C:\Data directory with the share name DataShare and include a remark, type:
C:\Data
DataShare
net share DataShare=c:\Data /remark:"For department 123."