You would need to use something like the AddStore method to create a new PST
or use an existing one and then copy over (or move) all the data you want in
that PST file. You can copy the folder structure and folders as well as the
items in the folders.
Start by looking at the code samples on
www.outlookcode.com.
--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm
"hodhod26" wrote in message
news

hi all. i want to run script export outlook data as *.pst .
thanks all
hodhod