Running for loop and setting the variable values within the for loop is different in window batch file comparing to other scripting or programming language. Following example is trying to get the total value of 1, 2, 3 and 4. set COUNT=0 for %%F in (1 2 3 4) do ( set /A COUNT=!COUNT! + …
Daily Archive: July 16, 2010
Permanent link to this article: http://lindaocta.com/?p=337