Learn about the technologies behind the Internet with The TCP/IP Guide!
NOTE: Using robot software to mass-download the site degrades the server and is prohibited. See here for more.
Find The PC Guide helpful? Please consider a donation to The PC Guide Tip Jar. Visa/MC/Paypal accepted.
View over 750 of my fine art photos any time for free at DesktopScenes.com!

[ The PC Guide | Troubleshooting and Repair Guide | The Troubleshooting Expert | Troubleshooting The System Overall | Troubleshooting Run-Time Error Messages ]

Out of environment space

Explanation: The program or command you are trying to run cannot execute because DOS has run out of room in its "environment", a place where system settings are stored.

Diagnosis: The default environment that DOS uses to hold settings and DOS variables is small--only 256 bytes. Some programs can cause DOS to run out of space in this area by trying to create more variables that there is no more room for. A long PROMPT or PATH statement will take up more room.

Recommendation:

  • Use fewer environment variables, or shorten the PATH statement in AUTOEXEC.BAT.
  • Increase the amount of environment space by adding the following line to your CONFIG.SYS file: "SHELL=X:\PATH\COMMAND.COM /P /E:NNNN" where "X:\PATH" is the directory where the COMMAND.COM command interpreter is located, and NNNN is the new size of the DOS environment area in bytes. Suggested is 512 or 1024; don't make this too large because increasing it reduces available conventional memory.

Home  -  Search  -  Topics  -  Up

The PC Guide (http://www.PCGuide.com)
Site Version: 2.2.0 - Version Date: April 17, 2001
Copyright 1997-2004 Charles M. Kozierok. All Rights Reserved.

Not responsible for any loss resulting from the use of this site.
Please read the Site Guide before using this material.
Custom Search