MODE CON:...
Posted: 29 Jan 2021 13:08
I wanted to (for fun) have a DOS window of size LINES=1, then display some text, expand the window to LINES=2, display more text etc. (so dynamically increase the window size).
Here is the code:
And the result is not as expected because MODE clears the screen.
Instead of
I have
For fun only. Not really of any use (at the moment).
Saso
Here is the code:
Code: Select all
@for /L %%f in (1,1,30) DO @mode CON: COLS=80 LINES=%%f&@echo THIS IS IT
Instead of
Code: Select all
THIS IS IT
THIS IS IT
THIS IS IT
Code: Select all
THIS IS IT
Saso