PRB: U4007 Error Can Be Caused By Missing Quotation Marks (66646)



The information in this article applies to:

  • Microsoft NMAKE Utility for OS/2 1.11
  • Microsoft NMAKE Utility for OS/2 1.12
  • Microsoft NMAKE Utility for OS/2 1.13
  • Microsoft NMAKE Utility for OS/2 1.21
  • Microsoft NMAKE Utility for Windows NT 1.4

This article was previously published under Q66646

SYMPTOMS

An attempt to use a makefile that uses the long filenames available in OS/2 or Windows NT fails and NMAKE generates the following message:
U4007: file name too long: truncating to 8.3

RESOLUTION

Place quotation marks around the long filenames.

STATUS

NMAKE 1.5 (included in Visual C++ 2.0) will handle long filenames.

MORE INFORMATION

For more information about this behavior, please refer to the README.DOC file provided with Microsoft C version 6.0 for OS/2, or to the NMAKE.WRI file provided with Visual C++ 32-bit Edition version 1.0.

Modification Type:MajorLast Reviewed:10/23/2003
Keywords:KB66646