E
E
egoros72020-04-04 20:24:39
cmd/bat
egoros7, 2020-04-04 20:24:39

How to display colored text in bat'nik?

How to display colored text in cmd/bat; do you need any libraries for this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
res2001, 2020-04-05
@res2001

For full color control, use Esc sequences. Here is an example.
In my opinion, this method only works starting with Win10. It was not supported in earlier versions of Windows. Didn't check it myself.
Here is the microsoft doc: https://docs.microsoft.com/en-us/windows/console/c...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question