|i want to make code "if" for my batch,|
i want to make "if" code for exit
but it was wild card
if %LABEL% == y exit /b
this is a code for exit with Known code
how do i make it to be a wildcard
if %LABEL% == y goto home
if %LABEL% == n goto credits
and if i have lists known codes like above, can i make another to be wild card? (for other unknown codes)
if %LABEL% == * == exit /b
that * was a wildcard symbol, but it's wrong, can you make that line command BUT change the * to be the wildcard code that cmd could read as wildcard WITHOUT bothering the other lists code?
NB: this is the 2nd batch i make, and iam a newbie / beginner (in fact, i make batch file with copy from the other script from the internet, and then edit it a little), if you know the real name for "code" tell me, too.
anyway, thanks :)