To add on the contents of one file to the other, use the "type" command like this: type file1 >> target type file2 >> target type file3 >> target or type file2 >> file1 will append file 2 onto the end of file 1 but don't type ">" instead of ">>" or you will merely replace file1 with file2 .