adding up in batch

Associate
Joined
8 Mar 2007
Posts
2,176
Location
between here and there
hey all,

I need to add some numbers together in a dos batch file.

any ideas how???

i thought..

set sum=%var1% + %var2%

but that just makes a variable with "10 + 90" and not the required 100.

cheers in advance.
 
Back
Top Bottom