OL98: How to Open Outlook to a Specific MAPI Folder Via CommandID: Q209314
|
This article describes how to open a specific MAPI folder with a command line switch.
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:calendarTo open Outlook to a custom folder called MyStuff that is in your default mail folder use the following syntax:
Outlook.exe /select outlook:MyStuffTo open Outlook to a custom folder called Stuff in a personal folder called MyOtherFolder use the following syntax:
Outlook.exe /select outlook:\\MyOtherFolder\StuffWhen 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\StuffThe 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: May 25, 1999