Microsoft KB Archive/209314

= OL98: How to Open Outlook to a Specific MAPI Folder Via Command =

Article ID: 209314

Article Last Modified on 3/17/2001

-

APPLIES TO


 * Microsoft Outlook 98 Standard Edition

-



This article was previously published under Q209314





SUMMARY
This article describes how to open a specific MAPI folder with a command line switch.



MORE INFORMATION
You can use a command line switch to open a specific folder. The folder you wish to open must be within the same folder tree as your default delivery location. For instance if your default delivery location is your Mailbox, only folders under Mailbox can be opened with the switch.

To open Outlook to the default Calendar folder use the following syntax:

Outlook.exe /select outlook:calendar

To open Outlook to a custom folder called MyStuff that is in your default mail folder use the following syntax:

Outlook.exe /select outlook:MyStuff

To open Outlook to a custom folder called Stuff in a personal folder called MyOtherFolder use the following syntax:

Outlook.exe /select outlook:\\MyOtherFolder\Stuff

When you create a shortcut, the full path to the Outlook.exe file may be necessary. You must enclose the path in quotes if there are spaces in any folder names in the path. In this case, the previous example looks like the following:

"C:\Program Files\Microsoft Office\Office\Outlook.exe" /select Outlook:\\MyOtherFolder\Stuff

The Outlook path in this example contained no spaces, so quotes were not necessary. If the Outlook path (Outlook:\\...) contains spaces, quotes are required and the text is case sensitive.

Additional query words: 98

Keywords: kbhowto KB209314

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.