Select the product you need help with
- Internet Explorer
- Windows Phone
- More products
Out of Environment Space Error Message in MS-DOS Programs
Article ID: 230205 - View products that this article applies to.
This article was previously published under Q230205
When you attempt to run an MS-DOS program in Windows, you may receive the following error message:
Out of environment space.
This issue can occur if you do not have enough memory in the MS-DOS environment to set an environment variable.
To resolve this issue, increase the default environment space available for MS-DOS programs. To do this, use one of the following methods.
Modify the Environment for All MS-DOS ProgramsTo increase the default environment space for all MS-DOS programs running in Windows, edit the Shell command in the Config.sys file. To do this, follow these steps:
Modify the Environment for a Specific MS-DOS ProgramTo increase the default environment space for a specific MS-DOS program, follow these steps: