|My input file Count.txt contains the following:|
] /Count 1
] /Count 2
I am trying to add the numeric characters at the end of each line ad store it to another file or store it to another variable.
I am not able to do it with the following batch file script:
for /f "tokens=3 delims= " %%i in ('findstr Count Count.txt') do (
set /a count=%%i + %count%
echo !count! > bilang.txt
The output I am getting is 2.
message edited by Saken