Does anyone know how to add an action to run when calling my batch file with / argument ? ? I always used -h to display usage, but this time I need my -h arg for something else.
EDIT: Actually, I tried to parse attributes like this
for %%i in (%*) do ....
But the argument /? was skipped, I will try your solutions to see if it is different.
Btw, why did you omit the / arguments when parsing %% i ? ?
source
share