How to Increase MS-DOS Environment Space (33449)
The information in this article applies to:
- Microsoft MS-DOS operating system 3.1
- Microsoft MS-DOS operating system 3.2
- Microsoft MS-DOS operating system 3.21
- Microsoft MS-DOS operating system 3.3
- Microsoft MS-DOS operating system 3.3a
- Microsoft MS-DOS operating system 4.0
- Microsoft MS-DOS operating system 4.01
- Microsoft MS-DOS operating system 5.0
- Microsoft MS-DOS operating system 5.0a
- Microsoft MS-DOS operating system 6.0
- Microsoft MS-DOS operating system 6.2
- Microsoft MS-DOS operating system 6.21
- Microsoft MS-DOS operating system 6.22
This article was previously published under Q33449 SYMPTOMS
You receive an "out of environment space" error.
CAUSE
The "out of environment space" error can occur when there are many set
commands or a long path statement in the AUTOEXEC.BAT file.
RESOLUTION
You can change the available environment space by putting the following
line in the CONFIG.SYS file:
shell=c:\command.com /e:<size> /p
To set the environment to 256 bytes, use one of the following lines:
MS-DOS Version Configuration Command
---------------------------------------------
3.00 or 3.10 shell=command.com /e:16 /p
3.20 or later shell=command.com /e:256 /p
Modification Type: | Major | Last Reviewed: | 5/12/2003 |
---|
Keywords: | KB33449 |
---|
|