So I wanted to create a code in batch that can make both C and c valid to go to :color This is the only way I was able to do it, but I was wondering if there is a more "efficient" way.
I'm new to coding and the programming world, so I'm not a Batch expert.
echo Choose again (C) or go back to Main Menu (M)?
set /p choice=Your choice:
if %choice%==C goto :color
if %choice%==c goto :color
if %choice%==M goto :menu
if %choice%==m goto :menu
my idea was something like
if %choice%==C,c goto :color
or
if %choice%==C& c goto :color
I will appreciate any and all help. Thanks in advance