In a batch file I want to see if %1 is in a set.
E.g., as an alternative to
if %1 equ /? goto help
if /I %1 equ -? goto help
if /I %1 equ /help goto help
etc
It seems like it should be simple, but I can't make it work. I've tried with and without FOR loops and search:string.