I'm constructing a statement that the Window's command shell passes on to an application. As part of that statement, I need to include a newline. I need that newline not to terminate the statement, but to be passed along to the application. I know that I can escape some special characters with a backslash. But, how can I escape a newline?
Here is a simplified example of the issue. -a, -b, -c are flags that signal the meaning of the following parameter information (embedded in double quotes).
c:\myexe.exe -a "a quoted sequence of information" -b "a quoted sequence that has a double quote embedded in it (\"), escaped with a backslash" -c "a quoted sequence that needs a <NEWLINE> that allows the quoted sequence to continue"
To get a double-quote (parameter -b), I just have to do: \". What is the equivalent for a newline?