![]() To share a computer's C:\Data directory with the share name DataShare and include a remark, type: To display information about shared resources on the local computer, type: For more information, see Additional References. Shared resource names that end in a $ character do not appear when you browse the local computer from a remote computer. For more information about services, see Related Topics. When you stop the Server service, all shares are disconnected, but they are reconnected automatically when the computer is restarted. The output is similar to the following: Share name Resource RemarkĬCMLOGS$ C:\windows\CCM\Logs Public ShareĬcmsetup$ C:\windows\ccmsetup Public ShareĪs you create shares on a server, they are saved. When you display all the shared resources on a computer, the share name of each resource, the device names or path that are associated with the resource, and a descriptive comment about the resource appear. To share a directory with a path that contains a space, enclose the drive and the path of the directory in quotation marks (for example, “C:\Path Name” Specifies one or more printers (LPT1: through LPT9) shared by ShareName.Įnables manual client caching of programs and documents from this share.Įnables automatic caching of documents from this share.Įnables automatic caching of documents and programs from this share.Įnables manual caching of documents with Branch Cache enabled from this share.ĭisplays help for the specified net command. Specifies an unlimited number of users can simultaneously access the shared resources.Īdds a descriptive comment about the resource. Specifies the maximum number of users who can simultaneously access the shared resources. This option may be used more than once to give share permissions to multiple users. The permissions that can be granted to a user are: read, change or full. Specifies the absolute path of the directory to be shared.Ĭreates the share with a security descriptor that gives the requested permissions to the specified user. Type net share with a ShareName to display information about that share only. Specifies the network name of the shared resource. For each resource, the device name(s) or pathname(s) and a descriptive comment are displayed.įor examples of how to use this command, see Examples. Used without parameters, net share displays information about all of the resources that are shared on the local computer. Applies To: Windows Server 2008, Windows 7, Windows Server 2008 R2, Windows Server 2012, Windows 8
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |