| Increasing Your Environment Space |
In Control Panel, double-click System. Click the Advanced tab, click Environment Variables. In the System variables, click ComSpec. To increase the amount of environment space, use the following syntax:
ComSpec = <drive:\windir>\system32\cmd.exe /e:2048
where <drive:\windir> is the drive and folder where the Windows 2000 system files are located.
The maximum size for the environment is 32768 bytes.
(See Microsoft MSDN article Q158141 for more information. )
To modify the Environment for all MS-DOS programs running in Windows, edit the Shell command in the Config.sys file. To do this, follow these steps: Click Start, click Run, type sysedit in the Open box, and then click OK.
Click the Config.sys file, and then type a new Shell command or replace any existing Shell command with the following line:
SHELL=<path>\COMMAND.COM /E:4096 /P
where <path> is the drive letter and path in which the
(See Microsoft MSDN article Q230205 for more information.)