Solved

Setting Files For a DOS program in XP Pro

Posted on 2004-08-09
2
662 Views
Last Modified: 2010-08-05
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?
0
Comment
Question by:rmewhinney
2 Comments
 

Accepted Solution

by:
Tridon earned 50 total points
ID: 11763754
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 ...
SET CLIPPER=E000;F200

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).

0
 

Author Comment

by:rmewhinney
ID: 11764226
Tridon:

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!
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

It is only natural that we all want our PCs to be in good working order, improved system performance, so that is exactly how programs are advertised to entice. They say things like:            •      PC crashes? Get registry cleaner to repair it!    …
When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup". After a while, you have entered a loop for Auto repair which does not fix anything and you will be in a  panic as all your work w…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now