Knowledge Base

How to Specify Additional Environment Space under Windows NT

PSS ID Number: 158141

Article Last Modified on 5/12/2003


The information in this article applies to:


This article was previously published under Q158141

SUMMARY

This article explains how to specify additional space for environment variables. This can be useful for systems with extremely long path statements in both the system and the Autoexec.bat file.

MORE INFORMATION

To specify additional space for environment variables:
  1. In Control Panel, double-click System.
  2. In the Environment list, select ComSpec.
  3. 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 NT system files are located.

In Windows 2000:

  1. In Control Panel, double-click System.
  2. Click the Advanced tab, click Environment Variables. In the System variables, click ComSpec.
  3. 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 /E: switch is 32768 bytes.

Additional query words: prodnt increase length out of environment space error

Keywords: kbnetwork KB158141
Technology: kbwin2000AdvServ kbwin2000AdvServSearch kbwin2000Pro kbwin2000ProSearch kbwin2000Search kbwin2000Serv kbwin2000ServSearch kbWinAdvServSearch kbWinNT350search kbWinNT351search kbWinNT400search kbWinNTS350 kbWinNTS350search kbWinNTS351 kbWinNTS351search kbWinNTS400 kbWinNTS400search kbWinNTsearch kbWinNTSsearch kbWinNTW350 kbWinNTW350search kbWinNTW351 kbWinNTW351search kbWinNTW400 kbWinNTW400search kbWinNTWsearch