问题
How I can read line per line the content of a text file?
I've tried
Type "Text.txt"
I will read the complete output
回答1:
@Echo OFF
FOR /F "Usebackq Delims=" %%a IN (
"File.txt"
) DO (
Echo %%a
)
Pause&Exit
来源:https://stackoverflow.com/questions/19231548/how-to-read-file-content-line-per-line