Microsoft DOS share command

Updated: 05/21/2018 by Computer Hope

About share

Installs support for file sharing and locking capabilities.


The share command is an external command that is available in the below 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 amount of locks to allow.

Additional information

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