notice I added "/i" this will make the if statement compare them as integers.
No it won't; using if with the /i switch makes the comparison case-insensitive, or makes it ignore case if you prefer. Since numerical digits don't have "upper" or "lower" case, it will have no effect whatsoever.
I may have miss understood the explaintion for the help option.
"and the /I switch, if specified, says to do case insensitive string compares. The /I switch can also be used on the string1==string2 form of IF."
and the bit that confused me...
"These comparisons are generic, in that if both string1 and string2 are both comprised of all numeric digits, then the stings are converted to numbers and a numeric comparison is performed"
I guess I thought that last section was part of the explation of the /I switch.
oh well.
as long as it works eh???