Hi All,
I am running a windows batch file which will accept a single value as a parameter.
The value is either 0 or 1.
Inside the batch file i want to check if the parameter is not 0 or 1 then it will generate an error.
It is something like this.
IF <PARAMTER VALUE> NOT IN (0,1) THEN
GOTO :PARAMETER_ERR
Please let me know how to do this. I am using windows XP and windows 2003 server