MS-DOS Buffersize Could Cause Problem Opening Command Prompt (154546)



The information in this article applies to:

  • Microsoft Windows NT Workstation 3.5
  • Microsoft Windows NT Workstation 3.51
  • Microsoft Windows NT Workstation 4.0
  • Microsoft Windows NT Server 3.5
  • Microsoft Windows NT Server 3.51
  • Microsoft Windows NT Server 4.0

This article was previously published under Q154546

SUMMARY

When you use Control Panel Console to increase the command prompt screen buffer size, you may have difficulty accessing the command prompt the next time you try. You may either experience a long delay between the time you select the command prompt icon and the time the command window is loaded, or you may receive the following error message:
Initialization of the dynamic link library <%systemrooot%>\Kernel32.dll failed. The process is terminating abnormally.

CAUSE

When you set the height and width of the screen buffer size to 9999, you are asking Kernel32.dll to allocate 190 MB of memory per command window. This can fail if you do not set your paging file to grow to more than 190 MB.

RESOLUTION

Set your paging file to accommodate the size required for the buffer size.

-or-

Set the buffer to a smaller number.

MORE INFORMATION

In Windows NT 4.0, a warning will appear below the Windows Preview window stating how much memory each Console window will use, if the settings use one MB of memory or more.

Modification Type:MajorLast Reviewed:5/14/2003
Keywords:kbenv kbnetwork KB154546