Re: How do you tag one file onto the end of another?
- From: "J. P. Gilliver (John)" <G6JPG@xxxxxxxxxxxxxxxxxxx>
- Date: Sun, 8 Nov 2009 00:40:26 +0000
In message <OaWOX88XKHA.1372@xxxxxxxxxxxxxxxxxxxx>, Richard <richard@xxxxxxxxxx> writes:
Won't that still go through the motions of copying every byte of fileA, even if it's putting the results back in the same place?
"J. P. Gilliver (John)" <G6JPG@xxxxxxxxxxxxxxxxxxx> wrote in message
news:Ta5FQGaKTB5KFwoY@xxxxxxxxxxxxxxxxxxxxxx
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
--
J. P. Gilliver. UMRA: 1960/<1985 MB++G.5AL-IS-P--Ch++(p)Ar@T0H+Sh0!:`)DNAf
** http://www.soft255.demon.co.uk/G6JPG-PC/JPGminPC.htm for ludicrously
outdated thoughts on PCs. **
Archduke Ferdinand found alive - First World War a mistake!
.
- Follow-Ups:
- References:
- Re: How do you tag one file onto the end of another?
- From: Richard
- Re: How do you tag one file onto the end of another?
- Prev by Date: Re: How do you tag one file onto the end of another?
- Next by Date: Re: Copyrights, photos from other websites, "Fair Use"
- Previous by thread: Re: How do you tag one file onto the end of another?
- Next by thread: Re: How do you tag one file onto the end of another?
- Index(es):
Relevant Pages
|