Solved

Setting Files For a DOS program in XP Pro

Posted on 2004-08-09
2
663 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Backup Window XP mode 6 120
Compatiable modem 2 54
Exe program is not a valid Win 32 application 15 104
Exchange & AD management console 2 91
Most of the time we are in fix when all of sudden our systems behave weirdly.  Such problems cost time and effort... so it's best to take some preventive actions so that we can avoid such issues or overcome such problems more easily. Preventive M…
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

910 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