A SERVICE OF

logo

ROM-DOS Commands 6-27
MX2A137REFGD Revision A MX2 Reference Guide
SHARE.EXE
Type
External
Purpose
SHARE installs the capabilities for file-sharing and file-locking on your
hard disk.
Syntax
SHARE [/options]
Or from CONFIG.SYS:
INSTALL=[d:][path]SHARE.EXE [/options]
Remarks
The SHARE utility is most commonly used in a network or multitasking
environment where file sharing is necessary. When SHARE is loaded,
DOS will utilize the SHARE utility to validate read and write requests
from application programs and users.
The /L:# option specifies the maximum number of files that can be
locked at one time. The default number of files is 20.
The /U option unloads the share utility and frees the memory. SHARE
will not unload if other TSRs have been loaded on top of it. The other
TSRs must be unloaded first before trying to unload SHARE.
Examples
The following example loads the SHARE program from the command
line:
SHARE
The next example installs SHARE from the CONFIG.SYS file and
changes the maximum number of locked files to 30:
INSTALL=C:\UTILS\SHARE.EXE /l:30
The final example unloads SHARE and frees the used memory.
SHARE /U