Windows Batch Tutorial
Introduction First batch program Special characters in Batch programming Accepting user input Operators in Batch scripting Working with variables Integer operations Floating point operations Conditional Statements Looping statements goto statement Writing functions Passing arguments Returning exit codeInteger operations in windows batch
We can perform integer operations using below syntax. Here “/a” stands for arithmetic operation.
set /a <any-arithmetic-operation>
Below image shows few arithmetic operations performed in command prompt.
Web development and Automation testing
solutions delivered!!