SHARE(DOS) UNIX System V SHARE(DOS)
Name
share - installs file sharing and locking
Syntax
share [/f:space][/L:locks]
Description
You can see share only when networking is active. If you
want to install shared files, you can include share in your
autoexec.bat file. To learn more about shared files, see
the Microsoft Networks Manager's Guide.
MS-DOS has a storage area that it uses to record file
sharing information; to allocate file space (in bytes) for
this area, you use the /f:space switch.
Each open file requires enough space for the length of the
full filename plus 11 bytes, since the average pathname is
around 20 bytes in length. The default value for the /f
switch is 2048.
The /L:locks switch allocates the number of locks you want
to allow. The default value for the /L switch is 20.
Once you have used share in an MS-DOS session, all read and
write requests are checked by MS-DOS.
Example
The following example loads file sharing and uses the
default values for the /f and /L switches:
share
Notes
share is an external command.
SHARE(DOS) (printed 8/16/89) SHARE(DOS)