Share Ü
ßßßßßß
Starts the share program, which installs file-sharing and locking
capabilities on your disks and network drives.
Syntax: SHARE [/F:space] [/L:locks]
In your CONFIG.SYS file, use the following syntax:
DEVICE=[[drive:]path]SHARE.EXE [/F:space] [/L:locks]
drive:path
Specifies the location of the SHARE.EXE file.
/F:space
Allocates file space (in bytes) for the FreeDOS storage area used to
record file-sharing information. The default value is 2048.
/L:locks
Sets the number of files that can be locked at one time. The
default value is 20.
Common use of Share
Typically, you use Share in a network or multitasking environment in
which programs share files. Share loads code that supports file-
sharing and locking in these environments. FreeDOS uses the code
loaded by Share to validate read and write requests from programs.
Allocating space
When deciding how many bytes to allocate for file sharing, note that
each open file requires enogh space for the length of the full path and
filename. The average length of a filename is 20 bytes.
Example:
This example shows how to load SHARE.EXE from your CONFIG.SYS file:
install=c:\dos\share.exe