Share command

Updated: 11/12/2023 by Computer Hope
share command

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


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.