Append string in to text file

February 14, 2011 at 11:59:27
Specs: XP
I know how to append text from one file to another (or strings) with >>, but I am wondering if there is a way to append the new data to the top of the text file, as opposed to the bottom.

See More: Append string in to text file

Report •

#1
February 14, 2011 at 12:15:23
type filea.txt > filec.txt
type fileb.txt >> filec.txt
del fileb.txt
ren filec.txt fileb.txt

Report •

#2
February 14, 2011 at 12:19:43
That'll work, thanks!

Report •
Related Solutions


Ask Question