Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Question on CRLF override

7 views
Skip to first unread message

Eashwer B. Iyer

unread,
Nov 18, 2021, 12:00:13 PM11/18/21
to
I have a need to preserve the CRLF in my parameters.
The batch script is being passed values with text appearing on multiple lines.

I need to preserve the CRLF in the incoming parameters to the batch script.
So if say test.bat "Hello
World
Line 3
Line 4"

then I want echo %* to echo the output in 4 lines without taking out the CRLF

Is this possible?
0 new messages