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

"Out of enviroment space"

Status
Not open for further replies.

Rudyvs

Programmer
May 20, 2001
21
CA
I develope applications which are used in in a DOS session and written in FoxPro 2.6. On of the things I make use of is DOS enviroment Varibles. (eg. SET developement=ON) WIN98 limits the amount of memory it allows for enviroment varibles, which I have exceeded. In DOS you can use a entry in config.sys to increase the memory available. (eg. SHELL=C:\DOS\COMMAND.COM /E:512 which increase the memory available from 256 bytes to 512 bytes) Does anyone know what can be done to make WIN98 increase the memory space allocation for enviroment varibles??
 
If the MS-DOS-based application requires more than 256 bytes of environment space and you are running Windows 3.1 or later, add the following line to the SYSTEM.INI file under the [NonWindowsApp] section:
[NonWindowsApp]
CommandEnvSize=1024 bytes should work properly; however, the setting can be set as high as 32,768 bytes. The value must be either zero or between 160 and 32768.

This is a global setting that affects all virtual machines (VMs).
ggebhart@clover.net
I hope I never get too old or arrogant to learn something new!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top