Frank ..
my answer has nothing to do with Perl .. but you can also use the standard
Windows copy command to do this
copy foo.txt + bar.txt c:\temp\baz.txt
that having been said - I don't think that you can combine two PST files by
just concatenating them .. I suspect that they have headers and such - being
a binary file
you will probably have to use Outlook to combine them
--
jason king
In Norway, you may not spay your female dog or cat. However, you may
neuter the males of the species. - http://dumblaws.com/
>-----Original Message-----
>From: blowther [mailto:[EMAIL PROTECTED]]
>Sent: Fri 20 Apr 2001 09:12
>To: 'Peter Scott'; Drain, Frank; Beginners (E-mail)
>Subject: RE: cat a file
>
>
>Something like this will work.
>
>perl -pe "" foo.txt bar.txt > c:\temp\baz.txt
>
>
>It's disappointing that
>
>perl -p foo.txt bar.txt > c:\temp\baz.txt
>
>doesn't work. It thinks foo.txt is the perl script to execute.
>
>
>-----Original Message-----
>From: Peter Scott [mailto:[EMAIL PROTECTED]]
>Sent: Thursday, April 19, 2001 2:34 PM
>To: Drain, Frank; Beginners (E-mail)
>Subject: Re: cat a file
>
>
>At 04:27 PM 4/19/01 -0400, Drain, Frank wrote:
>>Hello,
>>
>>I am very new to perl. I have two pst (personal folder
>files) that I want
>>to combine into one.
>>
>>I know how to use cat in Linux. How do do this
>>same operation in perl under windows?
>
># cat. Usage, e.g. perl cat .pl file1 file2 >file3
>
>while (<>) { print }
>
>--
>Peter Scott
>Pacific Systems Design Technologies
>http://www.perldebugged.com
>