Append Command: Appending on a new line

When using the MS Windows ftp.exe there is an append command. From what I have seen, when appending text files, it just directly appends the new file to the source file without making a new line.

For example:
Source: test
new: anothertest
outcome: testanothertest

I would like to see to see a new line before the new file is appended:
outcome: test
anothertest

How can I achieve this result?
LVL 1
bejhanAsked:
Who is Participating?
 
JamsbConnect With a Mentor Commented:
It can easily be done via notepad. Simply open Notepad press return then do File --> Save
CR.txt
0
 
JamsbCommented:
It might be annoying, but you could do two appends. Create a text file with a carriage return in it, append that to the remote file, then append your other text file.
0
 
JamsbCommented:
With he other alternative adding a line to the start of the text file being appended.
0
 
bejhanAuthor Commented:
Okay if I have a blank line at the beginning of the appending text file it works. But I like your first suggestion better so that in my code I can just have it append the line return text file first so that I don't have to mess with my other files. However, the only problem is I can't get a text file to save with just a line return. When I open it again its always just blank again. Any idea of how to do this?
0
 
bejhanAuthor Commented:
Ah, notepad just doesn't recognize it when you open the file again but it does exist. Okay.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.