Is there a way to determine and tweak the file handle limit in Windows?

link|improve this question

25% accept rate
Go on, I'll bite, what version? 98 and below is was the 'files=' statement in config.sys ;) – Chopper3 Feb 2 '10 at 17:14
How about Win XP? – Steve Feb 2 '10 at 17:15
In which case this is a superuser.com question - that said take a look here; blogs.technet.com/markrussinovich/archive/2009/09/29/… – Chopper3 Feb 2 '10 at 17:19
You'd be surprised how many Win98/XP/2000 "servers" are still floating around (Lawyers Never Upgrade :-( ) – voretaq7 Feb 2 '10 at 17:38
feedback

1 Answer

up vote 3 down vote accepted

For crusty old DOS and Win16 programs:

Windows 98 and earlier: FILES= statement in config.sys

Windows NT/2000/XP (Probably Vista & 7): FILES= statement in \Windows\System32\config.nt (Possibly also a registry setting?)


For Windows native programs (Win32 API): Shouldn't Apply (Per MSDN, there is no fixed file handles limit on the Win32 API, unless I'm misunderstanding).

If you're hitting the system global (kernel) file handle limit you have bigger issues to address.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.