1.

Solve : How do you write a blank line to a file??

Answer»

I want to ADD blank lines to a file, but not sure how.

So like:

ECHO DERP >test.txt
echo >>test.txt
echo HERP >>test.txt

Would Make:

Derp
Echo is off
HerpIts not obvious, but do this
Code: [Select]echo Derp >test.txt
echo. >>test.txt
echo Herp >>test.txt
the '.' doesnt print, so just the newline is sent
Several CHARACTERS you can use to generate the blank line.
Code: [Select]ECHO SQUASH
ECHO;
ECHO:
ECHO,
ECHO.
ECHO=
ECHO+
ECHO[
ECHO]
ECHO/
ECHO\
ECHO MAN Code: [Select]E:\batch files\blank>blank.bat
SQUASH










MAN

E:\batch files\blank>



Discussion

No Comment Found