OL97: Error Using Command-Line Options in Combination

Last reviewed: January 19, 1998
Article ID: Q174480
The information in this article applies to:
  • Microsoft Outlook 97

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:

  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.

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

  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.

REFERENCES

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
Solution Type : kbworkaround


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: January 19, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.