Article ID: 50219
This article was previously published under Q50219
This article has been archived. It is offered "as is" and will no longer be updated.
The text file specified in a $INCLUDE metacommand must exist on disk, or the message "File not found" appears.
You get the "File not found" message unless you do one of the following:
If the file isn't found, a "File not Found" error is flagged on the REM in the REM $INCLUDE: 'filename' statement (instead of on the filename in the single quotation marks in QuickBasic 4.00, 4.00b, and 4.50 and in QuickBasic extended shipped with Microsoft Basic PDS Version 7.00).
To create an include file while in the QuickBasic QB.EXE 4.00, 4.00b, or 4.50 editor, or the QBX.EXE editor, use the Create File command on the File menu and select Include. Then when you try to execute the program in the editor, it will inform you to save the Include file before execution can occur, preventing the "File not Found" error.
Article ID: 50219 - Last Review: February 27, 2014 - Revision: 1.2