Help with DOS echo command
t1rhino
Toronto
I am trying to pipe an echo command to a text file, but how do you echo a carriage return?
echo "hello \n world" > test.txt
produces
hello \n world in test.txt.
So how do I echo it so it comes out like
hello
world
???
echo "hello \n world" > test.txt
produces
hello \n world in test.txt.
So how do I echo it so it comes out like
hello
world
???
0
Comments
echo hello > test.txt
echo. >> test.txt
echo world >> test.txt
Hope this helps.