Error 2009 Not Enough Space For Environment Foxplus
get the following message : "Error 2009: Not enough space for environment" and the program stops.I really need to run those programs on XP (and have definitely no time engou to re-write everything).Have you had this problem and how did you solve it?Thanks in advance for your help,Vincent Stefan Wuebbe 2004-04-15 08:25:49 UTC PermalinkRaw Message I think that means that the old DOS Fox is surprised about finding somuch RAM on modern hardware. Does it help when you add a line likeSHELL=%SYSTEMROOT%\SYSTEM32\COMMAND.COM /E:4096to your CONFIG.NT?hth-StefanPost by VincentBAll,I am trying to run Foxplus 2.0 in a 'Dos' window running on an XP Pro computer.I get the following message : "Error 2009: Not enough space for environment" andthe program stops.Post by VincentBI really need to run those programs on XP (and have definitely no time engou tore-write everything).Post by VincentBHave you had this problem and how did you solve it?Thanks in advance for your help,Vincent super 2004-11-25 04:56:00 UTC PermalinkRaw Message Hello,I, too, am trying to run a FoxBase (DOS) on WinXP. And I get the sameerror 2009 that Vincent gets. I see that "Stefan Wuebbe" had suggested acode line to place in "config.nt". I can't figure out how to do this.Has anyone had any success in running Foxbase on XP?ThanksCharles Yvan 2005-02-08 12:36:51 UTC PermalinkRaw Message Hi,The error message that you get is similar to the old "Out of EnvironmentSpace".This means that you must run Foxplus into a "clean" environment.Try this:Create a batch file like this or copy/paste the lines below (assuming thatFoxplus in located into the C:\Foxplus directory)The batch file will temporarely set a new path and release someunnecessary environment variables in the new shell for Foxplus.@echo offclspath=c:\foxplus;c:\winnt;c:\winnt\system32cd\foxplusset CommonProgramFiles=set COMPUTERNAME=set LOGONSERVER=set NUMBER_OF_PROCESSORS=set PATHEXT=set PROCESSOR_ARCHITECTURE=set PROCESSOR_IDENTIFIER=set PROCESSOR_LEVEL=set PROCESSOR_REVISION=set ProgramFiles=set TEMP=set TMP=set USERDOMAIN=set USERNAME=set USERPROFILE=set windir=foxplusSave it into your Foxplus directory and create a shortcut onto yourdesktop.Open the properties of this shortcut, click on the "Compatibility" tab andactivate the Run in Compatibility Mode option and select Windows 95compatibility Layer in the list.I also modified my Config.nt file like this:Files=99Buffers=50That's all. Foxplus runs as it must.Regards,Yvan. 3 Replies 971 Views Switch to linear view Disable enhanced parsing Permalink to this page Thread Navigation VincentB 2004-04-15 08:06:08 UTC Stefan Wuebbe 2004-04-15 08:25:49 UT
newsgroup for me to post this? Friend brought to me a 6 month old eMachine with Windows XP Home. Not much has been installed on it. For several months he was successfully using an ancient DOS program called FIRST1. Then it broke. Very little new programs have been installed. Besides all the things eMachine provided, I see Spy Sweeper, Quick Books Basic, Napster and two printers (HP DeskJet an Lexmark Z715.) I uninstalled Spy Sweeper and installed Windows Defender. He has over 200 FIRST1 spread sheets that are needed! http://microsoft.public.fox.fox2x.narkive.com/bdyXMfxK/error-2009-not-enough-space-for-environment To facilitate rapid testing of this problem, I copied FIRST1 to a USB Flash Drive and went from PC to PC to identify where all it works and where it fails. My personal PC (A clone) Dual boot: Windows XP Home (FIRST1 fails) Windows 2000 PRO (FIRST1 works okay) My Wife's PC ( A clone): Windows 2000 PRO (FIRST1 FAILS) My 'server' Dual boot (Dell B110) http://www.pcreview.co.uk/threads/dos-program-error-2009-not-enough-space-for-environment.2676798/ Windows XP Home (FIRST1 works) Windows 2000 PRO (FIRST1 Works) Summary: Both Windows XP Home and Windows 2000 have working machines and failing machines. On failing machines,I have tried setting it to run compatibility mode for Windows 95, but behavior does not change. I tried several other compatibility settings. When it fails, it always fails with the same message. I have compared the Properties setting for Program,Memory, Compatibility, etc. against the working machine and they are the same. It feels like DOS extended memory does not work on the failing machines. ...\System32\config.nt and autoexec.nt are system default on all systems. Any ideas appreciated. I could export over 200 spread sheets and teach Excel to the owner, but there are just too many. I really need to fix this. Carl lurker, Aug 9, 2006 #1 Advertisements Wesley Vogel Guest How to Adjust MS-DOS Application Environment Size http://support.microsoft.com/kb/161564 I receive the following error: "Error 2009: Not enough space for environment." I have tried a few suggestions, for http://computer-programming-forum.com/2-vfp/2718db5772961067.htm example editing the config.nt file and the following line: SHELL=C:\Command.com /E:512. That did not work. I have also changed the size of the environment within the properties of the PIF file associated with Foxbase. That did not work either. Can anyone help me correct this issue. Much appreciated. Jorge Mon, 03 Jan 2005 22:20:04 GMT Charly Pruem#2 / 17 Running Foxbase on NT or XP. error 2009 Hi Jorge, Try DOSMEM=512 in your CONFIG.FP Charly Quote:> Hello all. I am trying to run Foxbase on an NT machine and an XP machine and > I receive the following error: > "Error 2009: Not enough space for environment." > I have tried a few suggestions, for example editing the config.nt file and > the following line: SHELL=C:\Command.com /E:512. That did not work. I have > error 2009 not also changed the size of the environment within the properties of the PIF > file associated with Foxbase. That did not work either. > Can anyone help me correct this issue. Much appreciated. > Jorge Mon, 03 Jan 2005 22:50:30 GMT Jan Buc#3 / 17 Running Foxbase on NT or XP. Hello all. I am trying to run Foxbase on an NT machine and an XP machine Do you really try to run old good DOS FoxBase+ ? Quote:> and > > I receive the following error: > > "Error 2009: Not enough space for environment." > > I have tried a few suggestions, for example editing the config.nt file and > > the following line: SHELL=C:\Command.com /E:512. That did not work. I have > > also changed the size of the environment within the properties of the PIF > > file associated with Foxbase. That did not work either. > > Can anyone help me correct this issue. Much appreciated. > > Jorge Thu, 06 Jan 2005 00:54:53 GMT Keith Reynold#4 / 17 Running Foxbase on NT or XP. Jorge, I have found that you need to remove paths with spaces in them from th Review the contents of CONFIG.NT in the %windir%\System32 folder. Does it have entries like these: dos=high, umb device=%SystemRoot%\system32\himem.sys files=100 Make it has the line dos=high and bump up the files= What does your Autoexec.nt file have in it? -- Maurice N MVP Windows - Shell / User