Possible Duplicate:
How can you echo a newline in batch files?
I'm wondering if i could have some help with making line breaks in an ouput .txt file made using a batch file.
Here's the beginning of my script, so you might see better what i mean:
@echo OFF
type NUL > newfile.txt
ECHO Hello, world. I am currently asking a question. > newfile.txt
I want the text to be output into the newfile.txt file looking like this:
Hello, world.
I am currently asking a question.
I have tried searching around alot, trying different suggestions that use &
and ^
and ECHO
and ECHO.
and $'\r'
but i haven't gotten anything to work. Any help would be much appreciated.