beautypg.com

Avery Dennison 6037 Rev. AA 3/04 Programmer Manual User Manual

Page 174

background image

5-54 Utility Descriptions

S H A R E

The SHARE command installs the capabilities for file sharing and file
locking on your hard disk.

Syntax

SHARE [/L:nn][/u]

Or from CONFIG.SYS

INSTALL=[drive:][path]SHARE.EXE [/options]

Remarks

The SHARE utility is most commonly used in a network or multitasking
environment where file sharing is necessary. When SHARE is loaded,
DOS utilizes the SHARE utility to validate read and write requests from
application programs and users.

Note:

At the time this manual was updated, this utility did not contain
long filename support.

SHARE should not be used under DOS 7.1. With the addition of FAT32
support to DOS 7.1, the internal DOS share tables were overwritten.

Options

The /L:

nn option specifies the maximum number of files that can be

locked at one time. The default number is 20.

The /U option unloads the share utility and frees the memory. SHARE
does not unload if other TSRs have been loaded on top of it. The other
TSRs must be unloaded first before trying to unload SHARE.

Examples

SHARE

Loads the SHARE program from the command line.