KnowledgeBase Archive

An Archive of Early Microsoft KnowledgeBase Articles

View on GitHub

Q39019: Error U2157 Filename : Cannot Access File

Article: Q39019
Product(s): See article
Version(s): 5.00 5.10 | 5.10
Operating System(s): MS-DOS | OS/2
Keyword(s): ENDUSER | s_pascal h_fortran h_masm s_quickc s_util s_error | mspl13_c
Last Modified: 21-DEC-1988

The following error is from "LIB Error Messages" in the manual
"CodeView and Utilities", Section C.3, Page 374, and in the "Microsoft
QuickC Compiler Programmer's Guide," Section D.5, Page 380:

U2157       filename : cannot access file

            LIB was unable to open the specified file.

Error messages generated by the Microsoft Library Manager, LIB, have
one of the following formats:

{filename | LIB} : fatal error U1xxx: messagetext
{filename | LIB} : error U2xxx: messagetext
{filename | LIB} : warning U4xxx: messagetext

The message begins with the input-file name (filename), if one exists,
or with the name of the utility. If possible, LIB prints a warning and
continues operation. In some cases errors are fatal and LIB terminates
processing.

A hyphen (dash, - ) in a subdirectory name in the path can cause this
error; this error occurs because of a problem in LIB.

THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Copyright Microsoft Corporation 1986-2002.