🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.msdos.programmer
Article #510

Why won't DOS allow more than 20 open files?

#510
From: Jeff Siegel, Op from Atherton Ha...
Date: Sat, 09 Jun 1990 23:16
14 lines
1210 bytes
Even though I have the statement FILES = 40 in my config.sys, DOS refuses
to open more than 20 files at once and returns error code 4 (no handles
available) if I try to open more. I've tested this on 3 different version
of DOS (all of which allegedly support the FILES statement) Any clues why this
is?

A while back I remember seeing a question on how to get more than 20 open
files in TurboC. I've come up with a solution to the limitation TurboC places
on the number of open streams, but when I went to test it I ran into this
DOS problem. I will post the code if I manage to get it working. Has a 'cure'
for this problem already been posted on the net? (I don't want to repeat a
lot of work someone else has already done)

 Jeff
Technical Details
Message-ID: <90160.191651JXS118@psuvm.psu.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!samsung!sdd.hp.com!zaphod.mps.ohio-state.edu!brutus.cs.uiuc.edu!psuvax1!psuvm!jxs118

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!samsung!sdd.hp.com!zaphod.mps.ohio-state.edu!brutus.cs.uiuc.edu!psuvax1!psuvm!jxs118
From: JXS118@psuvm.psu.edu (Jeff Siegel, Op from Atherton Hall)
Newsgroups: alt.msdos.programmer,comp.sys.ibm.pc.programmer
Subject: Why won't DOS allow more than 20 open files?
Message-ID: <90160.191651JXS118@psuvm.psu.edu>
Date: 9 Jun 90 23:16:51 GMT
Organization: Penn State University
Lines: 14