Microsoft KB Archive/174480

= OL97: Error Using Command-Line Options in Combination =

Article ID: 174480

Article Last Modified on 1/20/2007

-

APPLIES TO


 * Microsoft Outlook 97 Standard Edition

-



This article was previously published under Q174480



SYMPTOMS
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.



RESOLUTION
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:  Click the Start button and then click Run. In the Open box, type the following command-line and click OK.

" \ OUTLOOK.EXE" /select " " /profile " "

(where is the path to Outlook.exe and 

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.



STATUS
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.



MORE INFORMATION
The /profile switch opens Outlook using a specified profile. The /select switch opens Outlook displaying the specified folder.

Steps to Reproduce the Problem
 Click the Start button, and then click Run. Type the following command-line and click OK:

\OUTLOOK.EXE" /profile " " /select "

</ol>

RESULT: The error message above is displayed.

<div class="references_section">