Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Changing lines when creating file from Windows cmd

Velpus Captiosus

Well-Known Coder
Hello .The instruction echo [text]> [filename].[extension] writes all the data in the same line?How do you change lines?Do you use the \n or the ; or something else?
 
You can do this:

Code:
(echo text & echo text) > dummy.txt
 

New Threads

Latest posts

Buy us a coffee!

Back
Top Bottom