Is there a way to determine and tweak the file handle limit in Windows?
For crusty old DOS and Win16 programs:
Windows 98 and earlier:
Windows NT/2000/XP (Probably Vista & 7):
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.