Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

FOXPRO 2.6 DOS WINDOWS MILLENIUM EDITION

Status
Not open for further replies.

tommy2xs

Technical User
Jul 19, 2000
3
US
Windows ME will not save any entries in config.sys. Therefore the FILES=150 is not saved and FoxPro 2.6 for DOS will not run (it keeps generating insufficient memory errors). Microsoft suggest entering this environment setting in msconfig, but FoxPro 2.6 for DOS does not recognize the setting from msconfig.&nbsp;&nbsp;Does anyone know of a workaround yet?<br>
 
I have used Windows ME so I don't know its constraints.&nbsp;&nbsp;Have you tried or are you using a PIF file?
 
I tried to change the properties of the PIF without success. The problem really points to config.sys. I even tried changing the registry key to: [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\MS-DOSOptions\DOSSettings] &quot;Config.Sys&quot;=&quot;FILES=150&quot;.<br>Windows NT at least had a config.nt, but not Windows ME. It looks like Microsoft does not support FOXPRO 2.6A for DOS anymore.
 
You might try calling Microsoft Tech Support to see if they have a solution.<br><br>--cd.
 
Config.sys is ignored in Windows ME. Me runs DOS apps in a DOS virtual machine-like way, like in NT. It always assumes a set number of FILES, and cannot be overwritten in config.sys. You need to add an entry to the system.ini files to override. Look at % Q274646 - Understanding the Settings in the Windows Millennium Edition Config.sys File for more info.
 
also look at article q269030. How to increase available file handles for Ms-dos based applications in Windows millenium edition
 
edit the system.ini file and under the [386enh] section add the following lines

PerVMFiles = 225

Then restart the WinME. Your problem will be solved.
The maximum number you can use above is 225 while a lesser number enables only that many+30 files at a time to be opened as maximum file handles.
 
Thanks everyone! PerVMFiles = 225 in the [386enh] section of system.ini took care of it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top