Article ID: 88258 - Last Review: August 16, 2005 - Revision: 2.1 Project File Trailing Character Gives "Bad File Name" ErrorThis article was previously published under Q88258 On This PageSUMMARY
The Microsoft Basic editing/debugging environments (QB.EXE, QBX.EXE)
allow you to load multiple source files (that is, modules) for each
program. To keep track of the specific modules for each program, the
environments create project files with a .MAK extension. The project
file is a simple ASCII file that lists each module in the project on a
separate line. If any of the module filenames have trailing
characters, even spaces, the environment stops reading and reports a
"Bad file name" error.
MORE INFORMATION
This problem does not occur for project files created by the
editing/debugging environment (QB.EXE or QBX.EXE). Because project files
are simply text files, they can be created or modified manually. If any
extraneous characters are inserted past the end of the filename
extension, the "Bad file name" error will result. This can be
particularly hard to detect if the inserted characters happen to be
spaces or tabs.
Steps to Reproduce Problem
APPLIES TO
| Article Translations
|


Back to the top
