Solved

Setting Files For a DOS program in XP Pro

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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

Ok I have been working on this for some time having learned and gained certification in XenDesktop 4 along came version 5 which was released last month. Since then I have been working to deploy XenDesktop 5 in a small environment with only 2 virt…
cPanel is a Unix based web hosting control panel that provides a graphical interface and automation tools designed to simplify the process of hosting a web site. cPanel utilizes a 3 tier structure that provides functionality for administrators, rese…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

776 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