[問題] 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