[comp.windows.ms] >25 lines in a DOS window

timur@seas.gwu.edu (The Time Traveler) (10/10/90)

To modify the number of lines a windowed DOS application contains, you
have to modify your system.ini file.  At the bottom should be a heading
[NonWindowsApp] (if not, put one in).  After this line, add the line:
ScreenLines=xx, where xx is the number of lines you want.  Mine is set
to ScreenLines=50.  Unfortunately, if you're running DOS 4.x (which
is the only DOS to fully support 50-line mode), the screen will contain
50 lines, but DOS will only recognize the first 25.  To fix this, you
have to enter the command MODE 80,50 to force DOS into 50-line mode.

Does anyone know how to make this automatic?  And yes, this applies to
386 enhanced mode only, since only this mode can window DOS apps.