🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc.programmer
Article #724

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

#724
From: Joseph D. Shapiro
Date: Wed, 13 Jun 1990 15:49
24 lines
1400 bytes
In article <17@csource.OZ.AU> david@csource.OZ.AU (david nugent) writes:
] >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
] 
] The call you need is DOS Fn 67H.  The specs for it are:
] 	AH	=	67H
] 	BX	=	the desired number of handles (up to 0FFFFh)
] 
] Once this takes effect, it remains in effect for ALL processes in
] the system.  The number of files request can exceed the FILES=
] statement in CONFIG.SYS - which makes it sort of redundant. :-)
] 
] Hope this helps,
] david

1) this has effect only for the process which calls it.
2) the FILES= limit still applies.
3) i know both from personal experience.

-- 
__--__--__--__--__--__--__--__--__--__--__--__--__--__--__--__--__--__--__--__
Joe Shapiro					"My other car is a turbo...
ISC-Bunker Ramo     				 ...too."
{decvax,yale,philabs,oliveb}!bunker!shap
Technical Details
Message-ID: <12393@bunker.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!cs.utexas.edu!yale!bunker!shap
References: <90160.191651JXS118@psuvm.psu.edu> <17@csource.OZ.AU>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!cs.utexas.edu!yale!bunker!shap
From: shap@bunker.UUCP (Joseph D. Shapiro)
Newsgroups: comp.sys.ibm.pc.programmer
Subject: Re: Why won't DOS allow more than 20 open files?
Message-ID: <12393@bunker.UUCP>
Date: 13 Jun 90 15:49:44 GMT
References: <90160.191651JXS118@psuvm.psu.edu> <17@csource.OZ.AU>
Reply-To: shap@clunker.UUCP (Joseph D. Shapiro)
Organization: ISC-Bunker Ramo, an Olivetti Company, Shelton, Ct
Lines: 24