Computing.Net > Forums > Disk Operating System > Appending a text file

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Click here to start participating now! Also, check out the New User Guide.

Appending a text file

Reply to Message Icon

Name: Graydon
Date: July 14, 2005 at 11:16:56 Pacific
OS: Windows XP Pro
CPU/Ram: Athlon XP 2000+, 256mb DD
Comment:

I use a simple command :

type labor.txt >> export.txt

The problem I have is that I need a Carriage Return for the last line of export.txt of before the first line of labor.txt. When I run command the first line of labor.txt is added to the last line of export.txt. Is there a way to use some sort a CR command that would allow my appended data to append on the next line? thanks!




Response Number 1
Name: dtech10
Date: July 14, 2005 at 13:00:52 Pacific
+1
Reply:

Hi
echo. >> export.txt



Response Number 2
Name: Graydon
Date: July 14, 2005 at 15:08:14 Pacific
+1
Reply:

That did it!

Thank you so much



Reply to Message Icon

Related Posts

See More


Splitting a text file Original Scorched Earth



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Disk Operating System Forum Home


Google Ads



Results for: Appending a text file

Re-direct ">" info to a text file WITHOUT re-creating that text file www.computing.net/answers/dos/redirect-info-to-a-text-file-without-recreating-that-text-file/2058.html

Read a text file into a batch pgm? www.computing.net/answers/dos/read-a-text-file-into-a-batch-pgm/8760.html

Getting Contents of a Text File www.computing.net/answers/dos/getting-contents-of-a-text-file/13123.html