Question:
I get"error 2009"(not enough space for environment) message when I try running my fox base software on winXP
r_wadhwa
2006-05-18 20:54:35 UTC
This software works fine:1) On Win 98 first edition 2) On Win 98 second edition if booted in dos prompt only 3) Gives error 2009 on XP professional
Hardware HP notebook nx6110 (with ram upgraded to 512).
Tried running from pen drive --same error message
Three answers:
samantha
2006-05-18 21:28:52 UTC
Ran a google search for your particular problem. Try this link:



http://www.tek-tips.com/viewthread.cfm?qid=1082142&page=1



or do



from

heiteixyz (Programmer) 11 Sep 05 15:20

You must look for the "set"-vars.

The system define many of them for default - any of them need memory. You can use a special batch-file to "unset" most of the vars. This file you must "call" at first of the program execution.

Sample batch file "set_env.bat":

--------------------------------

@echo off

set ALLUSERSPROFILE=

set APPDATA=

set CLASSPATH=

rem set CLIENTNAME=

set CommonProgramFiles=

set Computername=

set FP_NO_HOST_CHECK=

set HomeDrive=

set HOMEPATH=

set HOMESHARE

set LOGONSERVER=

set NUMBER_OF_PROCESSORS=

set os=

set PROCESSOR_ARCHITECTURE=

set PROCESSOR_IDENTIFIER=

set PROCESSOR_LEVEL=

set PROCESSOR_REVISION=

set ProgramFiles=

set QTJAVA=

set SESSIONNAME=

set temp=

set tmp=

set USERDOMAIN=

set USERGROUP=

set USERNAME=

set USERPROFILE=

set windir=

set Path=C:\windows;C:\windows\system32;C:\windows\system32\wbem



if "%1"=="quit" goto End

dbase4.exe %1

:End

--------------------------------



The second step is to call the set_env-file as first - look the next sample:

--------------------------------

C:

cd C:\Prog16\turnus\prg

call set_env.bat turnus.prg
trysaran
2006-05-19 04:34:01 UTC
may be problem with the virtual memory. increase it.
Karthik Durairajan
2006-05-30 15:34:29 UTC
i dont know


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...