====================================================================== Microsoft(R) Product Support Services Application Note (Text File) WD0659: SHARE.EXE QUESTIONS & ANSWERS ====================================================================== Revision Date: 10/93 No Disk Included The following information applies to Microsoft Word version 6.0 for Windows(TM). ----------------------------------------------------------------------- | INFORMATION PROVIDED IN THIS DOCUMENT AND ANY SOFTWARE THAT MAY | | ACCOMPANY THIS DOCUMENT (collectively referred to as an Application | | Note) IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER | | EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED | | WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR | | PURPOSE. The user assumes the entire risk as to the accuracy and | | the use of this Application Note. This Application Note may be | | copied and distributed subject to the following conditions: 1) All | | text must be copied without modification and all pages must be | | included; 2) If software is included, all files on the disk(s) | | must be copied without modification (the MS-DOS(R) utility | | diskcopy is appropriate for this purpose); 3) All components of | | this Application Note must be distributed together; and 4) This | | Application Note may not be distributed for profit. | | | | Copyright (C) 1993 Microsoft Corporation. All Rights Reserved. | | Microsoft and MS-DOS are registered trademarks and Windows is a | | trademark of Microsoft Corporation. | |---------------------------------------------------------------------| 1. Q. Why does the following error message occur when I start Word 6.0? "You must exit Windows and load SHARE.EXE in order to run Word." A. To run Word 6.0 under Windows version 3.1 in standard mode or 386 enhanced mode or under Windows for Workgroups version 3.1 in standard mode, you must run the MS-DOS SHARE command before starting Windows. Word uses the Share program for object linking and embedding (OLE) version 2.0 operations. Specifically, Share provides the range-locking functionality that Word uses in compound files. Word 6.0 will not start under Windows 3.1 or Windows for Workgroups 3.1 in standard mode unless Share is loaded. You do not need Share if you run Word under Windows for Workgroups 3.1 in 386 enhanced mode. Windows for Workgroups uses a comparable file-sharing utility called VSHARE.386. Similarly, you do not need Share if you run Word under Windows NT because this operating system includes built-in range- locking functionality. 2. Q. How do I load SHARE.EXE? A. If you want to automatically load SHARE.EXE each time you start your computer, add a line to your AUTOEXEC.BAT or CONFIG.SYS file using the following instructions: 1. Add the following line to your AUTOEXEC.BAT file \share.exe /l:100 where is the drive and directory where the SHARE.EXE file is located (usually the MS-DOS directory). For example, if your MS-DOS directory is called DOS and is on drive C, add the following line to your AUTOEXEC.BAT file: c:\dos\share.exe /l:100 2. Add the following line to your CONFIG.SYS file: install=\share.exe /l:100 For example, if your MS-DOS directory is called DOS and is on drive C, add the following line to you CONFIG.SYS file: install=c:\dos\share.exe /l:100 3. Q. What is the difference between SHARE.EXE and VSHARE.386, which is supplied with Windows for Workgroups 3.1? A. Both VSHARE.386 and SHARE.EXE are file-sharing programs that provide range-locking functionality to applications, such as Word 6.0, that support OLE 2.0. VSHARE.386 functions as a drop- in replacement for SHARE.EXE. VShare is an enhanced mode virtual device driver (VxD), and it contains several network- specific features that improve file sharing when you run Windows for Workgroups in enhanced mode. Generally, VShare is "friendlier" than Share, especially for access-control operations. 4. Q. I'm running Windows for Workgroups but when I try to start Word 6.0, I still get the error message "You must exit Windows and load SHARE.EXE in order to run Word." What's wrong? A. If you are running Windows for Workgroups in standard mode, neither VSHARE.386 nor SHARE.EXE is running, so Word cannot start. This happens because Word Setup does not add SHARE.EXE to your AUTOEXEC.BAT file if you are running Windows for Workgroups in either standard or 386 enhanced mode. As a result, you must exit Windows for Workgroups and do one of the following: - Restart Windows for Workgroups in 386 enhanced mode. - or - - At the MS-DOS command prompt, load SHARE.EXE by typing the following and then pressing ENTER: c:\dos\share.exe /l:100 In the above command, "C:\DOS" is the drive and directory where SHARE.EXE is located - usually your MS-DOS directory. You can now restart Windows for Workgroups in standard mode and run Word 6.0.