Usually in most of the batch command, it uses /? to get the description or hel of the particular command.
So is there a way to identify user is asking for the help by entering /? as argument (mybatchfilename /?)
I have tried IF %1==/? goto Help. but seems ? has special meaning in batch command.
Any help?
Here I show help if no switch is selected. Also the last line shows how to test for a specific parameter (
/udbut you can change it to-?and/?)