You could always open your own files in assembly written routines. . .
Changing the limit in config sys does not do it. DOS limits pascal exes to 20 files.. pascal eats 5 and you are left with 15. I now code in C++ Builder but we maintain a legacy system with over 2.5 million lines of code and it's in there somewhere.
If you still need this info, send me an email and I will post an answer here. I don't want to dig unless you still need it. Good luck.
It looks like you're new here. If you want to get involved, click one of these buttons!