Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 0 = Черный 8 = Серый
- 1 = Синий 9 = Светло-синий
- 2 = Зеленый A = Светло-зеленый
- 3 = Голубой B = Светло-голубой
- 4 = Красный C = Светло-красный
- 5 = Лиловый D = Светло-лиловый
- 6 = Желтый E = Светло-желтый
- 7 = Белый F = Ярко-белый
- color 0a
- @echo off
- call :colored "Print me in red!" Red
- call :colored "Print me in blue!" Blue
- pause >nul
- exit
- :colored
- %Windir%System32WindowsPowerShellv1.0Powershell.exe write-host -foregroundcolor %2 %1
Add Comment
Please, Sign In to add comment