alexjayaprakash
asked on
How to duplicate the Outlook folder structure
Let's say current I have PST store my 2006 email.
Personal
|_Alex
|_Mary
|_etc....
Software
|_Linux
|_Microsoft
|_Unix
|_etc......
Currently the PST is reach the size limit.
So I would like to create another PST for 2007 with current folder structure (they is 10 parent folder and 30 subfolder)
I don't want to copy to another PST and delete all the email to preserve the folder structure,
How to duplicate to the empty mail PST with preserve the folder structure??
Personal
|_Alex
|_Mary
|_etc....
Software
|_Linux
|_Microsoft
|_Unix
|_etc......
Currently the PST is reach the size limit.
So I would like to create another PST for 2007 with current folder structure (they is 10 parent folder and 30 subfolder)
I don't want to copy to another PST and delete all the email to preserve the folder structure,
How to duplicate to the empty mail PST with preserve the folder structure??
export ,then import or you could do a move
Hi, alexjayaprakash.
I can do it with a fairly simple bi of scripting, if that's an option. I can post the code for doing this if it is.
I can do it with a fairly simple bi of scripting, if that's an option. I can post the code for doing this if it is.
ASKER
Yes, please let me test and confirm.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
No luck..when I try to run I got error "Compile error: Statement Invalid Outside Type Block
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Line 9 generates an errorcode. This can be simply solved by filling in the complete path where tot create the duplicate. Like:
Session.AddStore ("D:\MyDocs\Oultlook\" & strDestFolder & ".pst")
Session.AddStore ("D:\MyDocs\Oultlook\" & strDestFolder & ".pst")
In case somebody else come around trying to find out how to do it...
1) In File Menu click in Archive
2) Select Archive this folder and all subfolders
3) Select the PST with the folder structure you want to duplicate
4) In "Archive items older than" write a date older than any email you have in that PST (for instance, Mon 1990-01-01)
5) Checkmark on the Include items with "Do not AutoArchive" checked
6) Browse where to save the new .PST
7) Click OK
8) Wait for the archiving process to finish.
9) A new PST called "Archive Folders" will appear in the left panel. It will contain the same folder structure but no data items from the old .PST
10) Change the name as needed (right click, properties, advanced, NAME)
see you
1) In File Menu click in Archive
2) Select Archive this folder and all subfolders
3) Select the PST with the folder structure you want to duplicate
4) In "Archive items older than" write a date older than any email you have in that PST (for instance, Mon 1990-01-01)
5) Checkmark on the Include items with "Do not AutoArchive" checked
6) Browse where to save the new .PST
7) Click OK
8) Wait for the archiving process to finish.
9) A new PST called "Archive Folders" will appear in the left panel. It will contain the same folder structure but no data items from the old .PST
10) Change the name as needed (right click, properties, advanced, NAME)
see you