How add a a number to a variable in batch -


hey i'm working on project of mine in batch. yes know bad i'm using anyways. trying make updating inventory system when ran problem. trying add set number e.x 1 variable this:

@echo off set var=0 echo add these numbers var+1 set /a var=%var%+1 pause echo var pause 

what problem?

to show value of variable var, need

echo %var% 

Comments

Popular posts from this blog

sql server - Cannot query correctly (MSSQL - PHP - JSON) -

php - trouble displaying mysqli database results in correct order -

C++ Linked List -