PRB: Commands Fail in Makefile if Directory Over 66 CharactersLast reviewed: July 24, 1997Article ID: Q154059 |
The information in this article applies to:
SYMPTOMSWhen running on Windows 95, commands in the makefile echo out to the screen but they do not execute. For example, the sample makefile shown below echoes the following commands:
dir *.* md testbut neither command is executed.
CAUSEThe directory in which you are running nmake is over 66 characters long. When running in MS-DOS mode on Windows 95, the MS-DOS limitation of 66 characters, including the drive and colon, still applies. Long filenames are counted as 8 characters when determining the total length of a directory.
RESOLUTIONIf you need to run NMAKE from the Command prompt, the fully qualified directory length cannot exceed 66 characters.
STATUSThis behavior is by design.
MORE INFORMATION
Sample Makefile
ALL: dir *.* md test |
Additional query words: 1.40 1.60.570 1.61.6038 Win95
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |