A
A
Andrey2019-12-12 18:18:41
cmd/bat
Andrey, 2019-12-12 18:18:41

What character/character translates text to a new line in the console?

Example:
echo test test2>>test.txt
What needs to be put between test and test2 so that test2 is added on a new line?
# you need one line, and one command, so that the path to write to the file is one, and there are several additions of lines.
# %newline% doesn't work because Windows is old.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
res2001, 2019-12-23
@andrey-marun

>>test.txt (echo test & echo test2)

K
Konstantin Tsvetkov, 2019-12-12
@tsklab

@echo test >>  test.txt
@echo test2 >> test.txt

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question