Microsoft KB Archive/26582

From BetaArchive Wiki

Filenames Longer than Eight Characters in MAKE ID Number: Q26582

5.00 MS-DOS

Problem:

Given the following MAKE file, no .OBJ file is created when using the new bound version of MAKE:

file.obj: file.c fileinclude.h cl -c file.c

Response:

DOS silently truncates filenames longer than 8.3 and no error is reported. Thus, “fileinclude.h” and “fileinclxxx.h” are considered the same file. OS/2 reports an error if filenames are longer than 8.3. API.LIB emulates OS/2 in this respect and reports an error, so all bound programs will fail to find “fileinclude.h” unless the name is truncated.