Hmm.. set /a variable = 9 * 8 or set /a variable = %var1% + %var2%
Select as Best AnswerUndo Best Answer
Hey, nice. Do you know how to do that with .vbs files?
The same way you'd do it with batch.a = 1b = 2c = a + bd=msgbox ("C equals: " + c ".")Or atleast, that should work...
Have a poke around www.dostips.com/ But bear in mind this is generally basic, crude stuff and you might want to step-up to something like VBS L
It's very limited but halfway down read "Arithmetic". and here is another answer to look at. Especially response #3. It's been too long since I did any batch programming.