I have the following code in my batch file:
if %bakfilesize% geq %freespacet% echo baksize is larger
if %bakfilesize% leq %freespacet% echo baksize is smaller
When I run it, I get the following output on screen:
if 399502220288 GEQ 463777075200 echo baksize is larger
baksize is larger
if 399502220288 LEQ 463777075200 echo baksize is smaller
baksize is smaller
Can anyone tell me what is going on here? I have tried a simple version with the numbers 1 and 2, and windows can confirm that 1 is indeed less than 2, so why is it failing in this instance?
I only really need the geq statement to work. The other one is in to demonstrate the oddness.