Runtime Error 6009 - Default Environment SizeID: Q119365
|
When you run an MS-DOS - based application that requires a large amount of environment space, such as a compiler, you may encounter Runtime Error 6009.
This error occurs when there are not enough bytes allocated for the
environment.
The default environment size for MS-DOS - based applications running under
Windows NT is 256 bytes. Windows NT sets up many more variables than an
average MS-DOS operating system usually does and can quickly meet the
default size. The following list is an example of default variables after
you install Windows NT over MS-DOS:
COMSPEC
COMPUTERNAME
HOMEDRIVE
HOMEPATH
MOUSE
OS
OS2LIBPATH
PATH
PROCESSOR_ARCHITECTURE
PROCESSOR_LEVEL
PROMPT
SYSTEMROOT
TEMP
USERDOMAIN
USERNAME
WINDIR
The environment size can be adjusted from the command line or in a .BAT or
.CMD file in the SYSTEM32 directory by adding the following line:
COMMAND /E:XXXX
SHELL=%SYSTEMROOT%\SYSTEM32\COMMAND.COM /E:SIZE /P
For more information about the Windows NT command prompt and commands for the MS-DOS and Windows NT subsystems, please see Chapter 9 of the Windows NT "System Guide."
Additional query words: prodnt 3.10 err msg
Keywords :
Version :
Platform :
Issue type :
Last Reviewed: February 4, 1999