I want to make it so that the empty lines are also outputted. For eg, this is my example.txt file.
Hello
This is a text file. Hello World!
And my code to run it is,
for /f "delims=" %%a in (%cd%\example.txt) DO (
echo. %%a
)
But it doesnt show the empty lines and instead shows it like
Hello
This is a text file. Hello World!
How do I make it so it shows the empty line too? Thanks!