MS-DOS and Windows command line share command

Updated: 05/21/2018 by Computer Hope
share command

The share command installs support for file sharing and locking capabilities.

Availability

Share is an external command that is available for the following Microsoft operating systems as share.exe.

Share syntax

Installs file-sharing and locking capabilities on your hard disk.

SHARE [/F:space] [/L:locks]

/F:space Allocates file space (in bytes) for file-sharing information.
/L:locks Sets the number of files that can be locked at one time.

Share examples

share /L:30

Specifies the number of locks to allow.

Additional information

  • See our share definition for further information and related links on this term.