You are here: >

Microsoft DOS share command

share commandAbout share
Share syntax
Share examples

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.

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.