Registrations are now open. Join us today!
There is still a lot of work to do on the wiki yet! More information about editing can be found here.
Already have an account?

Microsoft KB Archive/104247

From BetaArchive Wiki

PRB: Read-Only File Causes ept0009 Error on C/C++ 7.0 Patch

PSS ID Number: Q104247 Article last modified on 01-25-1995

7.00

MS-DOS

The information in this article applies to:
- Microsoft C/C++ for MS-DOS, version 7.0

SYMPTOMS

There are several files that are updated when running the patch for Microsoft C/C++ version 7.0 [see the article titled “Microsoft C/C++ Version 7.0 Patch (C7PATB.ZIP),” Q94806, for more information about the patch.] If any of these files have a read-only file attribute and SHARE.EXE is not installed, the patch will give the error:

ept0009: Invalid Patch File ‘C:.rtp’

If SHARE.EXE or a network is installed, a sharing violation will occur instead.

CAUSE

The patch is attempting to write to files that have read-only status, and therefore MS-DOS reports to the PATCH.EXE program that it was unable to gain write access to the file. The patch program then gives the ept0009 error.

RESOLUTION

By using the MS-DOS ATTRIB command you can change the status of the files that need to be patched. For example, the command

attrib -r .

removes the read-only attributes of all files in the current directory.

MORE INFORMATION

The following files are affected by the patch and should have write status in order for the patch to run successfully:

Files contained in the C700directory:

LIB.EXE LINK.EXE PWB.EXE PWBUTILS.MXT CV.EXE CVPACK.EXE RCVCOM.EXE TRACE.EXE CVW4.EXE RCVCOM.EXE IMPLIB.EXE TLW0LOC.DLL DMW0.DLL EEW0CAN.DLL EMD1W0.DLL NMW0PCD.DLL EED1CAN.DLL EEW0CXX.DLL EMW0W0.DLL TLD1COM.DLL EED1CXX.DLL EMD1D1.DLL NMD1PCD.DLL TLD1LOC.DLL SHD1.DLL SHW0.DLL

Files contained in the C700directory:

TXTONLY.OBJ GRAPHICS.LIB

Additional reference words: 7.00 PATCH.TXT KBCategory: kbsetup kbprb KBSubcategory: c7setup

=================================================================

Copyright Microsoft Corporation 1995.