You can to this: echo off set passed=0 set failed=0 set skipped=0 for /f "tokens=2,4,6 delims= " %%a in (%1) do call :add %%a %%b %%c echo passed=%passed% echo failed=%failed% echo skipped=%skipped% goto :eof :add REM echo %1 %2 %3 set /a passed=%passed%+%1 set /a failed=%failed%+%2 set /a skipped=%skipped%+%3 :eof result: C:\temp>sumtotals. Bat file. Txt passed=89 failed=0 skipped=1.
You can to this: @echo off set passed=0 set failed=0 set skipped=0 for /f "tokens=2,4,6 delims= " %%a in (%1) do call :add %%a %%b %%c echo passed=%passed% echo failed=%failed% echo skipped=%skipped% goto :eof :add REM echo %1 %2 %3 set /a passed=%passed%+%1 set /a failed=%failed%+%2 set /a skipped=%skipped%+%3 :eof result: C:\temp>sumtotals. Bat file. Txt passed=89 failed=0 skipped=1.
1, if you use set /a passed+= ... and so on, then you didn't need the (slow) call. – jeb Jul 22 at 12:13 impressive - I did not think this could be so easily done. – Jesse Vogt Jul 22 at 12:31 +1 Perfect thanks!
– Derick Schoonbee Jul 22 at 12:41.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.