Microsoft DOS share command

Updated: 09/15/2017 by Computer Hope

About share

Installs support for file sharing and locking capabilities.

Availability

The share command is an external command that is available in the below Microsoft operating systems as share.exe.

MS-DOS 3.00 and above
Windows 95
Windows 98
Windows ME
Windows NT
Windows 2000
Windows XP

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.