Batch File Command "IF"
- EQU = Equal to...
- NEQ = Not Equal to...
- LSS = Less than...
- LEQ = Less than or Equal to...
- GTR = Greater than...
- GEQ = Greater than or Equal to...
Example :-
IF %INPUT% EQU 100 ECHO "EQUAL VALUE"
IF %INPUT% GEQ 100 ECHO "VALUE IS GREATER THAN OR EQUAL TO 100"
No comments:
Post a Comment