Name

net share

Synopsis

net share share-name[=path] [options]

Make a directory available to the network or revoke shared access (the =path form is used only when defining a new shared resource).

Without arguments, the command lists all currently shared resources. If just a share name is specified (without options), information about that resource is displayed.

Options

/USERS:n

Specify the maximum number of simultaneous users.

/UNLIMITED

Allow unlimited users to access the share simultaneously.

/REMARK: "text "

Specify a description or other comment for the share.

/DELETE

Remove the specified shared resource. Either the share name, the path, or the printer device may be specified as the argument to the command.

Get Windows 2000 Commands Pocket Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.