[问题] batch..在循环里如何计数?

楼主: fuj (fuj)   2016-07-07 11:29:36
新手 想要在FOR里面计数,可是数值都不变化
set count=1
for /F %%i in (list.txt) do (
set /A count+=1
echo %count%
)
count都是1,要如何解决?

Links booklink

Contact Us: admin [ a t ] ucptt.com