View Single Post
  #7  
Old November 7th 09, 03:56 PM posted to microsoft.public.windowsxp.newusers
Richard[_12_]
external usenet poster
 
Posts: 429
Default How do you tag one file onto the end of another?


"J. P. Gilliver (John)" wrote in message
...
I know one way to join files: in a command box,

copy /b filea+fileb filec

. However, if filea is huge, this takes a noticeable time, because
the entirety of filea is copied to filec (followed by fileb,
obviously). I know with text files, you can just append things to
another file - e. g.

dir filea

will I think append a directory listing to filea, or

type fileb filea

will append fileb to filea - but only if it's a text file.

Anyone know how to concatenate arbitrary files, without involving a third
file?


To append fileB to fileA:

copy /b fileA+fileB fileA

FWIW. --Richard



Ads