Can I somehow set the numer of lines and columns from within a batch script (in Win7).
As far as I know there is (was) a command similar to "mode" or "con".
Does this command only exist under WinXP? How is the syntax?
Maybe there is an additional third party progrma for this.
Peter
Set number of lines and columns of CmdPrompt from script?
Moderator: DosItHelp
Re: Set number of lines and columns of CmdPrompt from script
I know of no other command to mode, but I will provide the syntax for it:
and:
This will activate immediately.
Regards,
Rileyh
Code: Select all
mode con cols=(however many columns you want)
and:
Code: Select all
mode con cols=(however many columns you want) lines=(however many lines you want)
This will activate immediately.
Regards,
Rileyh