connery@bnrmtv.UUCP (04/06/87)
I know it can be done, since I have an example program which displays this information, as well as 10,000,000 other things. If forced I'll trace through the thing, but maybe somebody out there knows the answer. How can I get the FILES=xx and BUFFERS=xx info from a program? I need to be able to generate warnings if these values are too low... ...Glenn -- Glenn Connery, Bell Northern Research, Mountain View, CA {hplabs,amdahl,3comvax}!bnrmtv!connery
cim2@pyuxv.UUCP (04/07/87)
The easy (;-) way to do it is to open config.sys and scan through it looking for BUFFERS=nn and FILES=nn - we do this on our install scripts, as well as checking for things like ANSI.SYS being installed. Its pretty easy to do - we just use a little C language scanner. I'm sorry, but the code is proprietary Bellcore so I can't send it to you. (:-() There is probably some obscure DOS service to do it, but why bother writing assembler ? Robert L. Fair, CHC Bell Communications Research Piscataway NJ ihnp4!pyuxv!cim2