Outlook 2003 Compact OST file

Hi, Im using Outlook 2003 in cached mode and need to archive the ost file (have just done an email archiving project) I know how to do it manually ie:

1. On the Tools menu, click to select E-mail Accounts.
2. Click View or change existing e-mail account, and then click Next.
3. Click Microsoft Exchange Server, and then click Change.
4. Click More Settings.
5. On the Advanced tab, click Offline Folder File Settings.
6. Click Compact Now.
7. When the compact operation is finished, click OK twice.
8. Click Next, and then click Finish.

However I would like to start this as part of my logon script, is there a command line tool out there to do this?

Many thanks
LVL 1
AlistairDyerAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

jessnjeffCommented:
Here are the comman-line switches for Outlook 2007

http://office.microsoft.com/en-us/outlook/HP010031101033.aspx
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Outlook

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.