CreateShare

Create a Share on the Local or Remote Host

Related Topics Link IconRelated Topics

Definition

Use this command to share any directory on a Windows workstation.

The shared directory can reside locally (on the workstation you execute the command from) or on a remote host (RemoteShare).

The following permissions will be assigned for the shared directory:
Name: Everybody
Access: Full Control

If you want to create a share for a remote host in another domain, you need to make sure that the C$ directory on the remote host is connected successfully. To connect to (or disconnect from) C$ you can use the NetUseEx and NetDisconnect commands.

Settings

Input

  • Server name
    Please enter the server name where you want to create the share. You may also use a DNS alias.
  • Share name
    Enter the name the users use to connect to the shared directory.
  • Directory you want to share
    Enter the name of the local directory on the server you want to share.
  • Comment
    Optional entry.
  • User limit
    Enter the number of users who will be able to access the share at the same time. The value –1 is the maximum allowed.