Type: External (3.0 and later)
SHARE [/F:(space)] [/L:(locks)]
Purpose: Installs support for file sharing and file locking.
The SHARE command is used only when networking is active. After you use this command, DOS will check all read or write requests to determine the file sharing or locking status. The SHARE command can be included in the AUTOEXEC.BAT file to install shared files.
/F:space – Allocates file space (in bytes) for the area DOS will use to record file sharing information. Each file that is opened needs the length of the full filename plus eleven extra bytes of memory (the average is 20 bytes). If you do not specify a value, it is set to 2048 bytes. /L:locks – Allocates the number of locks to allow. If you do not specify a value, it is set to 20 locks.
To load file sharing and use the default values for the /F and /L switches, enter share