1.

Solve : Make command window wider?

Answer»

Is there any way to make the command WINDOW wider (within the batch file)? It currently displays 81 columns of text, but it would be nice if I can make it display 100 or so. I tried the mode command, but if I change either the line or cols option, it becomes longer (undesired) (even if I leave them as-is, but run the command, it gets longer).

Nevermind! I figured it out! Just change the lines option to 25 (the window size) and the cols option to the desired amount. For example, to make it display 100 columns of text, run this command:

mode con: lines=25 cols=99that takes me back. I always had mode con:lines=50 in my autoexec.bat for my old DOS machines.

In fact... my thinkpad has mode con:lines=43 in it's autoexec. (50 doesn't work properly on it). the difference with pure DOS is you could only select from 25,43, or 50 lines of text, and you couldn't change the width.


And remember! if you run a DOS game and it crashes, and leaves you with a garbled screen, you can always try mode co80 to try to restore the display Quote from: BC_Programmer on January 31, 2010, 08:52:18 AM

In fact... my thinkpad has mode con:lines=43 in it's autoexec. (50 doesn't work properly on it)

And that takes me back... EGA text screen.
Quote from: Salmon TROUT on January 31, 2010, 09:07:21 AM
And that takes me back... EGA text screen.


strange thing is, the video is 640x480x256, and should be ABLE to show 50 lines. Quote from: BC_Programmer on January 31, 2010, 09:18:39 AM
strange thing is, the video is 640x480x256, and should be able to show 50 lines.

Is it using the 90 X 43 VGA mode?
Quote from: Salmon Trout on January 31, 2010, 09:24:13 AM
Is it using the 90 x 43 VGA mode?


I don't believe so, the command used was mode con:lines=43, I think that gives it 80x43. I cannot check now though since I have no way to turn the thing on until the AC Adapter I got off ebay arrives.


Discussion

No Comment Found