Knowledge Walls
John Peter
Pune, Maharashtra, India
Things to Know [cont'd]
Greater than or equals to in Relational Operators of MS-DOS Commands
8614 Views
How to use greater than or equals to in ms dos batch file scripting 
GTQ is a greater than or equals to relational operator in ms dos, it is used to compare two values which decision making statements.

IF a GTQ b ECHO a is big
Example
@echo off

SET a=40
SET b=38

IF %a% GEQ %b% ( ECHO A is greater than or equals to B
) ELSE ( ECHO A is not greater than or equals to B )

SET /p exit=Press enter to exit
Output 
Next Topics
Next lessons of current book.
Relational Operators of MS-DOS Commands
Relational Operators of MS-DOS Commands
Logical Operators of MS-DOS Commands
Logical Operators of MS-DOS Commands
Logical Operators of MS-DOS Commands
Previous Topics
Previous lessons of current book.
Relational Operators of MS-DOS Commands
Relational Operators of MS-DOS Commands
Relational Operators of MS-DOS Commands
Relational Operators of MS-DOS Commands
Arithmetic Operators of MS-DOS Commands
Best Lessons of "MS-DOS Commands"
Top lessons which are viewed more times.
Arithmetic Operators of MS-DOS Commands
Arithmetic Operators of MS-DOS Commands
String manipulation of MS-DOS Commands
Relational Operators of MS-DOS Commands
String manipulation of MS-DOS Commands
String manipulation of MS-DOS Commands
Things to Know of MS-DOS Commands
  Copyright © 2014 Knowledge walls, All rights reserved
KnowledgeWalls
keep your tutorials and learnings with KnowledgeWalls. Don't lose your learnings hereafter. Save and revise it whenever required.
Click here for more details