Knowledge Walls
John Peter
Pune, Maharashtra, India
Things to Know [cont'd]
IF statement in Decision making of MS-DOS Commands
1940 Views
IF Statement 
Simple IF statement is used to execute particular statements with certain conditions. It controls the flow of statement execution. If given condition is true then statements will get executed.
IFstatement in MS-DOS 
IF %number%==10 goto :do_for_10
IF %number%==20 goto :do_for_20

:do_for_10
statements

:do_for_20
statements
IF in another way
IF condition (
   statement 1
   statement 2
   -
   -
   statement n )
Next Topics
Next lessons of current book.
File System of MS-DOS Commands
File System of MS-DOS Commands
Arithmetic Operators of MS-DOS Commands
Previous Topics
Previous lessons of current book.
Decision making of MS-DOS Commands
Decision making of MS-DOS Commands
Decision making of MS-DOS Commands
Things to Know 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
String manipulation of MS-DOS Commands
Arithmetic Operators of MS-DOS Commands
Logical Operators of MS-DOS Commands
Arithmetic Operators of MS-DOS Commands
Relational Operators 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