Net Share
Creates, deletes, or displays shared resources.
net share sharename
net share sharename=drive:path [/users:number | /unlimited] [/remark:"text"]
net share sharename [/users:number | unlimited] [/remark:"text"]
net share {sharename | drive:path} /delete
Parameters
none
Type net share without parameters to display information about all resources being shared on
the local computer.
sharename
Is the network name of the shared resource. Type net share with a sharename only to display information about that share.
drive:path
Specifies the absolute path of the directory to be shared.
/users:number
Sets the maximum number of users who can simultaneously access the shared
resource.
/unlimited
Specifies an unlimited number of users who can simultaneously access the
shared resource.
/remark:"text"
Adds a descriptive comment about the resource. Enclose the text in quotation
marks.
/delete
Stops sharing the resource.
More Information About Net Share
Net Share--Notes
Net Share--Examples