View Single Post
  #4  
Old November 1st 09, 02:41 PM posted to microsoft.public.windowsxp.newusers
J. P. Gilliver (John)
external usenet poster
 
Posts: 5,291
Default How do you tag one file onto the end of another?

In message , Anteaus
writes:
This task is probably a little beyond batch language. I would suggest trying
AutoIt's FileWrite command, which can append data to an existing file.

http://autoitscript.com


Thanks for that; I suspect it's too complicated for the person I had in
mind.

I have a friend who - for reasons we needn't go into here - concatenates
files (usually video files), by the simple expedient of

copy /b filea+fileb filec

which does the trick (and more quickly than loading them into a video
editing prog. - he knows what he's doing); however, I was watching him
do it once when filea was much bigger than the others (there were
actually several), and it seemed a pity to have to wait for the system
to copy the huge filea, when all he wanted was the others stuck onto the
end of it (he didn't have any need for filea to be retained unmodified).
Especially when I know that the "" operator works for text files - as
in

dir filez.txt

will tag the output of the dir command onto the end of filez.txt (much
as dir filez.txt will create filez.txt and then put the dir output
into it).

I found/find it odd that this facility works, but only for text files;
the mechanism is already there, obviously, but I can't see any way round
it. Ho hum.

"J. P. Gilliver (John)" wrote:

Mathematics is the language with which God has written the universe. -Galileo
Galilei, physicist and astronomer (1564-1642)


A surprising example to choose, in view of what the Inquisition did to
Galileo for the simple act of publishing his understandings of our solar
system.


Hmm, the choice of that quote had nothing to do with the subject of the
thread - they're picked at random (by an ancient DOS utility called
Tomsystems Quote!) from a file of such that I have accumulated over the
years. If you mean it's odd of itself, I just thought it was a pleasing
thought; Galileo himself, I suspect, either doubted the existence of God
and just thought it was a clever thing to say, or didn't think the
Inquisition represented God.
[]
It is possible that if Galileo had not done so, science would have remained
the province of underground 'heretics' and that today there would be no
computers, nothing of modern tech, for that matter. Instead we'd all be
living like Harrid and Sallis of Ver Ager, in an enforced state of
mediaevalism designed to secure the power of the ecclesiastical rulers.


One fears that this is at least a consequence - if not consciously the
actual aim - of some of the more extreme extremists in some countries.
(Even including Christians - some of them are very against research/work
in certain areas. But that is getting way off-topic, especially for a
newusers 'group.)

We all owe a great deal to Galileo, not just as a scientist but as a
proponent of free speech and human-rights. Today, whenever you speak your
mind freely about the nature of the universe... or about anything - think of
Galileo.

Indeed. (And others, of course.)
--
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. **

"I'm a self-made man, but I think if I had to do it over again, I'd call in
someone else." - Roland Young
Ads