The accepted answer does not work for me. my attempt is "\r\n"
echo 'This is some text before newline'; echo "\r\n"."text in new line"; //OR echo 'This is some text before newline'."\r\n"."text in new line";
Exit
cmd will be:
This is the text before the new line.
text in a new line
source share