Ok well today I tried using two variables inside the "IF" command and checking to see if one variable is larger then the other, it of course is rigged for one variable, yet I continue to have it say that the smaller numbered variable is higher and continueing as if it never did the math it just went with the "goto" code at the end of the which ever "if" statement was first.
So here's the code if what I typed doesn't make sense.
@echo off
set Test=6
set Test2=12
if %Test% GTR %Test2% goto :Done
if %Test2% GTR %Test% goto :Done2
:Done
It failed.
pause
:Done2
It worked.
pause
Even though its rigged for "Test2" it will still goto ":Done" instead of going to where it should go which is ":Done2".
Any one have an idea as to why. Help is greatly appreciated.