Menu principal
Moteur de recherche
Rechercher
Menu principal
Forum
Bureautique
Développement
Internet
Jeux vidéo
Matériel
Réseau
Vidéo/TV
Virus/Sécurité
CCM
CCM - Comment Ça Marche - Communauté informatique
Moteur de recherche
Rechercher
Connexion
Posez votre
question
Informatique
Mobile
Applis & Sites
Image & Son
Maison
Securité
Téléchargement
Forum
Bureautique
Développement
Internet
Jeux vidéo
Matériel
Réseau
Vidéo/TV
Virus/Sécurité
Emploi
Forum
View original (French)
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
Liens connexes:
Newline in the SHELL
Microsoft Word: line break issue
Line Break in VBA Code
Add a line break after \paragraph in LaTeX
Excel Concatenation - Line Break
Replace space with line break in txt???
2 réponses
Réponse 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!
Réponse 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
Membre
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
Afficher toute la discussion
Latest Discussions
How to get the character µ on the android keyboard.
at 15:04
Texture issues in enshrouded
at 09:31
Access issue to my "contact me" profile
at 07:47
Windows spotlight is not working.
on 20 May
My tv turns off and then on again repeatedly?
on 19 May
Executable from a python file
on 19 May
Pay in 4 installments cdiscount
on 19 May
The alt gr key is not working on my keyboard.
on 19 May
Code 80072efe how to get windows update working again
on 19 May
Video in ".3gp" format
on 19 May
Other languages
🇫🇷
Français