Hi,
How do I take 4 files and append them all together to create a fifth file?
Can I use source2 and destfile to be the same? Thanks.
dw
Append 4 files to separately named file
Moderators: JRL, Dorian (MJT support)
- Bob Hansen
- Automation Wizard
- Posts: 2475
- Joined: Tue Sep 24, 2002 3:47 am
- Location: Salem, New Hampshire, US
- Contact:
The sensible solution you are looking for is AppendFile>.
AppendFile was added with version 7.0.
This example will combine four files into a fifth one.
AppendFile was added with version 7.0.
This example will combine four files into a fifth one.
ORAppendFile>file1,file2,file5,result
AppendFile>file5,file3,file5,result
AppendFile>file5,file4,file5,result
As you can see in the first example, lines 2 and 3, the destination file (file5) can be the same as the first file. I never tried to see if it could be the same as the second one.AppendFile>file1,file2,fileA,result
AppendFile>file3,file4,fileB,result
AppendFile>fileA,fileB,file5,result
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!
Bob
A humble man and PROUD of it!