DOS 循环读取txt每一行内容时间:2022-06-01 19:02:00在命令行窗口中输入: for /f %i in (f:\mydata.txt) do echo %i 如果要是写成批处理文件run.bat for /f %%i in (f:\mydata.txt) do echo %%i pause