Opening More than 15 Files in MS-DOS Version 3.3 and Later (31509)
The information in this article applies to:
- Microsoft Visual Basic for MS-DOS
- Microsoft QuickBASIC 4.0
- Microsoft QuickBASIC 4.0b
- Microsoft QuickBASIC 4.5
- Microsoft BASIC Compiler for MS-DOS and OS/2 6.0
- Microsoft BASIC Compiler for MS-DOS and OS/2 6.0b
- Microsoft Basic Professional Development System for MS-DOS 7.0
- Microsoft Basic Professional Development System for MS-DOS 7.1
This article was previously published under Q31509 SUMMARY
To open more than 15 files at once in a Microsoft MS-DOS-based program, you
must do the following:
- Use MS-DOS version 3.3 or later. (You can determine the
MS-DOS version number with the VER command at the command prompt.)
- Add the statement FILES=n to the CONFIG.SYS file.
- Call MS-DOS Interrupt 21 hex with function 67 hex from the
program, as shown in the example listed below.
- If you are using the SHARE.EXE utility, you must also invoke
SHARE/F:nnnnn to increase the area for file-sharing information
above the default of 2048 bytes. See your MS-DOS manual for more
information about the SHARE utility.
The following is an example of using SHARE/F:
This information is also included with the Help file provided with
the Standard and Professional Editions of Microsoft Visual Basic
for MS-DOS, version 1.0.
Modification Type: | Minor | Last Reviewed: | 8/16/2005 |
---|
Keywords: | KB31509 |
---|
|