Commodore PC Ms-Dos 3.2 User's Manual page 159

Table of Contents

Advertisement

MS-DOS Commands 87
n
.
Share
Share
'
>
Purpose:
Installs file sharing and locking.
( ^
Syntax:
share [lt.space][IL:locks]
( ^
Comments:
You can see the share command only when networking is active.
>—v
If you want to install shared files, you can include the share com-
'
'
mand in your autoexec, bat file. To learn more about shared files,
see the Microsoft Networks Manager's Guide.
/—v
ms-dos has a storage area that it uses to record file sharing infor-
'
mation; to allocate file space (in bytes) for this area, you use the
It-space switch.
i^-s
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 It switch is 2048.
/~\
The IL.locks switch allocates the number of locks you want to
allow. The default value for the /L switch is 20.
Once you have used the share command in an ms-dos session, all
("^
read and write requests are checked by ms-dos.
Example:
m
The following example loads file sharing and uses the default
Loading the share
values for the It and PL switches:
command
^m.
share
n
n
n

Advertisement

Table of Contents
loading

Table of Contents