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

ID: Q209314


The information in this article applies to:
  • Microsoft Outlook 98


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 : kbdta
Version : WINDOWS:
Platform : WINDOWS
Issue type : kbhowto


Last Reviewed: October 13, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.