I have this for recognising a help parameter at the top of each of a set of batch files. Is there a briefer way, or is this as good as it gets?
@Echo Off
if "%1" == "" Goto Usage
if "%1" == "-?" Goto Usage
if "%1" == "/?" Goto Usage
if "%1" == "/help" Goto Usage
if "%1" == "-help" Goto Usage
if "%1" == "/Help" Goto Usage