Basic Guy
2010-03-18 03:18:01 UTC
I'm working on a program that was going to open 15 or 16 files
simultaneously, but I got an error 67 (too many files). It works when I
have 14 or 15 files open, but it's the last file-open that is giving me
the error. The text of the error message says this:
"Caused either by trying to create too many files in a drive's root
directory, or by an invalid file name that affects the performance of
the DOS Create File system call".
The first condition does not really apply, but I know where it comes
from (back before FAT-32 when FAT-16 was limited to 512 files in the
root directory of a drive). That is not the situation here.
The second condition is also not happening (the file name is not
invalid).
The error condition says nothing about having too many open files (or
file handles), but I can't find any mention in PB/DOS about how many
files it can have open simultaneously. Or is that a DOS limitation?
BTW, I have "FILESHIGH=64" in my config.sys.
simultaneously, but I got an error 67 (too many files). It works when I
have 14 or 15 files open, but it's the last file-open that is giving me
the error. The text of the error message says this:
"Caused either by trying to create too many files in a drive's root
directory, or by an invalid file name that affects the performance of
the DOS Create File system call".
The first condition does not really apply, but I know where it comes
from (back before FAT-32 when FAT-16 was limited to 512 files in the
root directory of a drive). That is not the situation here.
The second condition is also not happening (the file name is not
invalid).
The error condition says nothing about having too many open files (or
file handles), but I can't find any mention in PB/DOS about how many
files it can have open simultaneously. Or is that a DOS limitation?
BTW, I have "FILESHIGH=64" in my config.sys.