Batch : Checking the number of parameters

Viewed 31515

I'd like to make sure that when calling my batch, no more than 2 parameters are passed.

Is there an easy way to check that, or do I have to call SHIFT as many times as needed until the parameter value is empty ?

3 Answers
Related