using Batch, but I'm not sure how- I know how to echo in batch, but I don't know what to echo, how to get the right colours and what the size of the windows should be. Should the size be:
mode con:cols=37 lines=22
using Batch, but I'm not sure how- I know how to echo in batch, but I don't know what to echo, how to get the right colours and what the size of the windows should be. Should the size be:
mode con:cols=37 lines=22
Using cecho.exe
can do what you need.
mode con:cols=70 lines=20
for /l %%G in (1,1,10) do (
cecho.exe {07}aaaaaaaaa{#}{06}aaaaaaaaaa{#}{0B}aaaaaaaaaa{#}{0A}aaaaaaaaaaa{0D}aaaaaaaaaa{#}{04}aaaaaaaaaa{#}{01}aaaaaaaaa{#}{\n}
)
for /l %%G in (1,1,2) do (
cecho.exe {01}aaaaaaaaa{#} {0D}aaaaaaaaaa{#} {0B}aaaaaaaaaa{#} {07}aaaaaaaaa{#}{\n}
)
for /l %%G in (1,1,3) do (
cecho.exe {01}aaaaaaaaa{#}{0F}aaaaaaaaaa{#}{05}aaaaaaaaaa{#} {\n}
)
You can change the a
's to whatever character you like - just note the codepage issue. You may want to change codepage(chcp
) to 65000
/65001
for Unicode in UTF-7 and UTF-8. Codepage 437
(OEM is also a good option)
mode
command changes the console sizefor /l
loop runs the command in the brackets 10 timesfor /l
loop runs the command in the brackets 2 timesfor /l
loop runs the command in the brackets 3 timescecho
echoes out colored text.
{nn}
is the color code, followed by the text{#}
resets to the original console color{\n}
creates a new linececho
a {
, make sure you write {{
.