ARCHIVED: Using Windows 95, why do I get a "share.exe" error message when installing or using certain programs?
Note: The software discussed here is no longer in common use at IU, and UITS may no longer be able to verify this text's accuracy; additionally, the UITS Support Center may no longer have the materials needed to adequately support this software.
Note: UITS recommends that you use a current version of Windows on computers connected to the Indiana University network; see Recommended Windows operating systems at IU.
Some older programs which were written for Windows 3.1
required that a program called share.exe
be loaded into
memory before they would run. This includes some of the setup programs
for older versions of Microsoft Word, Excel, and Microsoft
Office. Share.exe
served to lock files that were open,
preventing other programs from opening the same file. This causes
"share.exe" errors.
If you are getting a "share.exe" error, you should upgrade to the Windows 95 version of the software rather than using the fix below.
Windows 95 uses a different method for locking files, using a file
called vshare.386
. The first release of Windows 95
included a share.exe
file for the sake of compatibility
with these older programs, but the newer OEM Service Release 2 (OSR2)
did not.
Microsoft suggests that you can fool some of these older programs by
creating a zero-length (i.e., empty) file called
share.exe
in the root of the C:
drive and
inserting the word "share.exe" (do not include quotation marks) into
your autoexec.bat
file.
To create a dummy share.exe
file:
- From the
notepad
, then click . menu, select . In
the window that opens, type - In the
Notepad
window, select , then . - In the "Save in:" box, select the
C:
drive. It should say "Drive c (C:)" ).
drive. Make sure you are in the root folder (i.e., the "bottom level"
of the - In the "Filename" box, type
share.exe
, then click .
To edit your autoexec.bat
file:
- From the
notepad C:\autoexec.bat
, the click . menu, select . In
the window that opens, type - In the
Notepad
window, go to the bottom of the file and add a new line that reads:rem start.exe
- From the menu, select .
For more information, see article 161619 in Microsoft's knowledge base.
This is document aglc in the Knowledge Base.
Last modified on 2018-01-18 12:12:38.