Good Day All! I have a batch script, and when I echo a variable like this
echo %variable1%
I get out put like this
TestLine1
TestLine2
TestLine3
TestLine4
My goal would be to modify this variable to remove all the newline characters so the output would look more like
TestLine1TestLine2TestLine3TestLine4
Is there a simple way to do this without creating files? Thank you for your assistance.
ing just one variable once, not from executing
echo`s in a loop? – Erieset /p ".=%variable1%"<nul
– Eleonoreleonora