I try to execute simple script:
set list="a",^
"b",^
c
echo %list%
And the output is
"a","b",a","b",^
Although I expected it to be "a", "b", c. It seems that the quotation marks spoil everything because if b is without them, all works fine. It is also mysterious to me why it breaks only on second new line escape.
So, why the output is so strange? I tried to launch the script on Windows 7 if it matters