Installs file-sharing and locking capabilities on your disks and network drives.
SHARE [/F:space] [/L:locks] [/NC]
In your CONFIG.SYS file:
INSTALL=[[drive:]path]SHARE.EXE [/F:space] [/L:locks] [/NC]
Typically, you use SHARE in a network or multitasking environment in which programs share files. SHARE loads the code that supports file-sharing and locking in these environments. Once you install Share, the operating system uses the code loaded by Share to validate all read and write requests from programs. For example, if two people are accessing the same data file, SHARE manages the file so both people do not write to the file at the same time.
When deciding how many bytes to allocate for file sharing, note that each open file requires enough space for the length of the full path and filename. The average length of a filename and its path is 20 bytes.
Share may be required in order to run some applications with Microsoft Flash File System.
This example shows how you can use the INSTALL command in your CONFIG.SYS file to load Share, with the default values for the /F and /L switches. The operating system searches for the file SHARE.EXE in the DOS directory on drive C.
This example allocates 4096 bytes for storing file-sharing information and specifies that 25 files can be locked at one time. Again, the operating system searches for SHARE.EXE in the DOS directory on drive C:
install=c:\dos\share.exe /f:4096 /l:25