In message <
[email protected]> of Sat, 2 Aug 2003
19:53:04 in microsoft.public.win2000.cmdprompt.admin, Barney
An excerpt from the MODE command's on-line help reads as
follows:
Display mode: MODE CON[:] [COLS=c] [LINES=n]
Does anyone know what the lowest and highest number of
rows and columns that can be assigned?
I could tell you the answer. It seems better to tell you how to find
out. Start with a huge number which gives you a failure.
Half the proposed number until you get a success.
set difference to half the current number.
add the difference to the current number.
repeat:
try again.
half the difference.
end if difference is zero.
add the difference if previous result OK
subtract the difference if previous result US.
1048576 is a nice large number which produces a failure with mode con
lines=1048576.