It is almost impossible to pass a new line in the batch file argument. This can be done, but I do not think that someone has developed a pragmatic way to correctly read such a parameter in a batch file.
It is best to define an environment variable containing two lines of text, including a new line. Then pass the variable name as an argument to the package, and then let the batch file access the value using a slow extension.
test.bat:
@echo off setlocal enableDelayedExpansion echo !%1!
From the command line:
>set multiLine=hello^ More? More? world >test multiLine hello world
For everyone who is interested, here is a discussion started by jeb regarding new lines in the batch parameters: http://www.dostips.com/forum/viewtopic.php?t=1768
source share