Computer and Software Support


DOS Command Share

Type: External (3.0 and later)

SYNTAX

SHARE [/F:(space)] [/L:(locks)]

Purpose: Installs support for file sharing and file locking.


Discussion

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.

Options

/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.

Example

To load file sharing and use the default values for the /F and /L switches, enter

share
 

This page is from http://www.easydos.com. I pasted it on my website to avoid possible broken links. For further help with DOS commands, Check easydos.com out.