I know with linux when I want to change the color code I can type in
echo -e \033[COLORm]
Is there an easy way like this to change the color in windows scripting. I tried
@echo off
REM This program will list all the colors
REM Selected by user input
set /p color=Enter the color you would like to use to display the sentence Hello World:
if %color% == [Blue]
color 01
Echo "Hello World"
Pause
Exit 0
Why can't I simply type in color followed by the code
But I had no luck, I'm still new at this. Any suggestions where I could just type in echo followed by color then code like linux.