Batch/MS-Windows-CMD: Increment Number Not Incrementing in FOR Loop

后端 未结 0 1112
天涯浪人
天涯浪人 2021-02-06 11:19

I have made a script:

set int=0
for /f %i in (\'type linksonpage.txt\') DO set /a int=%int%+1

It just says 1 every time!

相关标签:
回答
  • 消灭零回复
提交回复
热议问题