ID: Q174480
The information in this article applies to:
In Microsoft Outlook 97, if you combine the /profile command-line switch with the /select command-line switch, in that order, you may receive the following error message:
Unable to display the selected folder or item.
Reverse the order of the command-line switches. Place the /select switch before the /profile switch on the command-line.
To correct the problem, follow these steps:
1. Click the Start button and then click Run.
2. In the Open box, type the following command-line and click OK.
"<full path>\ OUTLOOK.EXE" /select "<folder>" /profile "<profile>"
(where <full path> is the path to Outlook.exe and <profile is the profile
you want to use)
The default installation path is:
C:\Program Files\Microsoft Office\Office\OUTLOOK.EXE
If you have installed Outlook to a different folder, use the path to that
folder.
Microsoft has confirmed this to be a problem in Microsoft Outlook 97. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
The /profile switch opens Outlook using a specified profile. The /select switch opens Outlook displaying the specified folder.
1. Click the Start button, and then click Run.
2. Type the following command-line and click OK:
<full path>\OUTLOOK.EXE" /profile "<profile>" /select "<folder>
RESULT: The error message above is displayed.
Microsoft Outlook 97 provides several command-line switches for starting Outlook. Most of these switches can be used in combination with one another. For information on other command-line switches available in Outlook, search on the phrase "Control what happens when you start Outlook," using the Office Assistant.
For more information on additional command-line switches not documented in Help, please see the following article in the Microsoft Knowledge Base:
ARTICLE-ID: Q156982
TITLE : OL97: Additional Command-Line Switches for Microsoft
Outlook
Additional query words: command line
Keywords : StpErr
Version : WINDOWS:97
Platform : WINDOWS
Issue type : kbbug
Last Reviewed: February 12, 1999