Select the product you need help with
- Internet Explorer
- Windows Phone
- More products
"Out of Environment Space" Running Batch File or Command Prompt
Article ID: 261825 - View products that this article applies to.
This article was previously published under Q261825
When you start a batch file or use a command prompt, you may receive the following error message:
Out of environment space
The default space for environment variables is 256 bytes by default. More environment variables are being set than can fit in 256 bytes.
To work around this issue, use one of the following methods:
Method 2Edit the Autoexec.bat file to include any environment variables that you need to set, and then reboot the computer. The changes are incorporated into the registry and the environment variable size is increased.
Windows Millennium Edition ignores Config.sys statements to increase the environment variable size.
For a list of command-line options, type command.com /?.
Article ID: 261825 - Last Review: January 27, 2007 - Revision: 1.2