AnsweredAssumed Answered

vrf Catonate 2 files

Question asked by VRFuser on Oct 31, 2007
"Michael Asbery" <> wrote:
> Dave,
> If you are dealing with text files, use the execute program with the
> following
> commands:
> Type file1.txt file2.txt > file3.txt    // concats file1 after file2 into
> file3
> Type file2.txt >> file1.txt             // append file2 to file1
> Type file*.txt > concat.txt             // put all files file1, file2,.. into
> concat.txt

Better yet-- just use good old "copy". That way it doesn't matter what sort of contents the file has.

copy file1+file2 file3    concats file1 and file2 into file3
copy file1+file2 file1    append file2 to file1
copy file* concat         put all files file* into single file concat

In either case by using native Windows shell commands the concatentaion is very fast and very robust. "Execute program"
is wonderfully useful tool.


Stan Bischof  Agilent Technologies  707-577-3994

You are currently subscribed to vrf as: To subscribe please send an email to: "" with the word subscribe in the message body.
To unsubscribe send a blank email to "".
To send messages to this mailing list,  email "". 
If you need help with the mailing list send a message to "".
Search the "unofficial vrf archive" at "".
Search the Agilent vrf archive at "".