How to create a line break in batch netblog - tadika - 16 Jan 2013 at 21:30 comment faire un saut de ligne en batch Show more Related links: Microsoft Word: line break issue Line Break in VBA Code Add a line break after \paragraph in LaTeX Excel Concatenation - Line Break Import EXCEL from .csv with Carriage Returns Replace space with line break in txt??? 2 answers Answer 1 / 2 tadika To create a line break you put: echo. which will display for example: yourtext yoursecondtext try it you will see... it's very simple! Answer 2 / 2 Sol echo. allows you to display an empty line to skip lines there is goto ex: @echo off echo blabla pause goto a echo coco pause :a echo on we are without seeing coco pause you skipped the line coco (waaaw :p) the pauses are for better understanding @+ xounay Posted messages 337 Status Member 35 Your "line break" is too strong. https://fr.wikipedia.org/wiki/Saut_de_ligne You need to do: set NLM=^ set NL=^^^%NLM%%NLM%^%NLM%%NLM% then echo hello%NL%goodbye which will display hello goodbye Show full discussion
Answer 1 / 2 tadika To create a line break you put: echo. which will display for example: yourtext yoursecondtext try it you will see... it's very simple!
Answer 2 / 2 Sol echo. allows you to display an empty line to skip lines there is goto ex: @echo off echo blabla pause goto a echo coco pause :a echo on we are without seeing coco pause you skipped the line coco (waaaw :p) the pauses are for better understanding @+ xounay Posted messages 337 Status Member 35 Your "line break" is too strong. https://fr.wikipedia.org/wiki/Saut_de_ligne You need to do: set NLM=^ set NL=^^^%NLM%%NLM%^%NLM%%NLM% then echo hello%NL%goodbye which will display hello goodbye
xounay Posted messages 337 Status Member 35 Your "line break" is too strong. https://fr.wikipedia.org/wiki/Saut_de_ligne You need to do: set NLM=^ set NL=^^^%NLM%%NLM%^%NLM%%NLM% then echo hello%NL%goodbye which will display hello goodbye