Solved

Setting Files For a DOS program in XP Pro

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

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

Can I legally transfer my OEM version of Windows to another PC?  (AKA - Can I put a new systemboard in my OEM PC?) Few of us are both IT and legal experts but we all have our own views of Microsoft's licensing rules and how they apply.  There are…
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
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…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

861 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