• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 677
  • Last Modified:

Setting Files For a DOS program in XP Pro

This is a similar question to others asked so I appologize for repetition.  I have just installed Windows XP Pro and I am testing a corporate app written in DBase IV (Very old) which has run successfuly up to and including Windows 98.  In Windows 98 the Config.sys file contains Files=100 and works fine.

I have made the corresponding change per the help in c:\windows\system32\config.nt to include files=100 and when I test one of the program areas where I know a large number of files are required, the message displayed is "too many files are open"..

From previous experience, if the corresponding item is active, this should work.  Is it possible, that the Config.nt is not being executed or I am I missing something?
1 Solution
Try increasing the number of files even higher.  I had a similiar problem with Windows XP and by increasing the files to 200 it eliminated the problem.

I believe the problems lies in the fact that the "Files" statement in the config.nt file also counts temporary files and depending on the DBase IV application, the program files and/or called routines.

I am still running an old DBase III based application compiled with Clipper (hiding my face).  But it works great under XP.

In addition, if your program was compiled with Clipper there is an environment variable you may want to consider ...

This eliminates the use of expanded memory and increases the allowed number of open files used by the program to 200 (default in the Clipper programs was 32 I think).

rmewhinneyAuthor Commented:

Thanks for your response, I did suspect that this could have been the situation, but after all who uses 16 bit apps anymore?

All joking aside, your response seems to have been the answer and is much appreciated!
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now