Top Navigational Bar

Network - Using SHARE To Enable File Locking
DocumentID: 633456
Revision Date: 29-Feb-96 3:03:17 PM

The information in this document applies to:
WordPerfect® 5.1 for DOS

Problem

Solutions: FYI:
In order for file locking to be implemented on a LANtastic network, the DOS SHARE.EXE program must be loaded. If SHARE is not loaded, two (or more) users can retrieve and work on a file at the same time. (SHARE should be loaded from the CONFIG.SYS file and not a batch file.) When this occurs changes made by the first user will be overwritten by those made by the second user. This could be the cause of files disappearing or changes not holding. The LANtastic network guide recommends that SHARE be run before the network. The SHARE program need only to be run on servers not on nodes for the network files. SHARE should also be run for files on the local drives if file locking is desired.

A customer using an IBM PC Lan network received the message Error 20 and sometimes Error 157 when trying to access a file that was open elsewhere on the network. Adding SHARE.EXE to the CONFIG.SYS file eliminated the errors.

The NETBIOS software needs to be running in order for the network to start. After it has been loaded, the following commands can be typed:
REDIR servername (where servername is the name of the server)
SHARE (SHARE must be in the current DOS directory or path)
SERVER

Answer:

Details:


Product specifications, packaging, technical support and information (*Specifications*) refer to theUnited States retail English version only. Specifications for other versions may vary. All Specifications, claims, features, representations, and/or comparisons provided are correct to the best of our knowledge of the date of publication, but are subject to change without notice.OUR MAXIMUM AGGREGATE LIABILITY TO YOU AND THAT OF OUR DEALERS AND SUPPLIERS IS LIMITED. IT SHALL NOTEXCEED THE AMOUNT YOU PAID TO ACCESS THE INFORMATION. SEE LEGAL DISCLAIMER.