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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

error 2009 not enough space in environment

Status
Not open for further replies.

agussr

Programmer
Jun 19, 2002
13
ID
Dear all,

I have problem running my foxbase in Win Xp...
In dos prompt mode... there always error 2009...
That any body know... what haven with Win Xp...

Thank you for your kindly.

regard's

agus sr
 
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
 
Dear heiteixyz,

Thank you for your advice, i will try that step.
Soon i will give the result to you.

regard's

agus sr.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top