Windows

net share

CautionCreate/list shares

net share

Lists/creates local shares — remember share permissions stack with NTFS ACLs.

Examples

  • net share logs=D:\logs /grant:everyone,READCreate a read-only share

Syntax

net share [name=path [/grant:user,perm]]

Before you run it

Shares go live instantly — design ACLs first.

Related commands

The same reference, with no signal at all

Every command and flow from this site, held on your device and searchable with no connection. Free to install, no ads.

Get it free on the App Store