Microsoft KB Archive/299609

= Error message when you use a command-line switch to start Outlook: &quot;Windows cannot find 'Outlook.exe / '&quot; =

Article ID: 299609

Article Last Modified on 3/28/2007

-

APPLIES TO


 * Microsoft Office Outlook 2007
 * Microsoft Office Outlook 2003
 * Microsoft Outlook 2002 Standard Edition

-



This article was previously published under Q299609



SYMPTOMS
When you use a command-line switch to control what happens when you start Microsoft Outlook, you may receive an error message that is resembles one of the following error messages:

Windows cannot find &quot;Outlook / &quot;. Make sure you typed the name correctly, and then try again.

Cannot find the file &quot;Outlook / &quot; (or one of its components). Make sure the path and filename are correct and that all required libraries are available.

For example, you may receive the following error message when you use the /cleanreminders switch:

Windows cannot find &quot;Outlook /cleanreminders&quot;. Make sure you typed the name correctly, and then try again.



CAUSE
This behavior occurs because the command-line switch is included in the path and is enclosed in opening and closing quotation marks, or because the Outlook.exe file is not in the current path.



MORE INFORMATION
To use command-line switches, follow these steps:
 * 1) Click Start, and then click Run.
 * 2) In the Open box, type Outlook / . For example, type Outlook /cleanreminders.

Note There is a space character between Outlook and the forward slash (/).
 * 1) Click OK.

If you still receive the error message that is mentioned in the &quot;Symptoms&quot; section, use the following alternative steps:  Click Start, and then click Run. Click the Browse button, and then locate the Outlook.exe file. Typically, this file is located in the following path:

C:\Program Files\Microsoft Office\Office

Note In this path,  represents a number between 10 and 12, depending on the version of Outlook that you are using. The following table lists the different numbers that represent the versions of Outlook.  Double-click the Outlook.exe file to obtain the full path and file name in the Run box. Put the text cursor after the quotation mark, type a space, and then type the command-line switch.

For more information about Outlook command-line switches, click the following article number to view the article in the Microsoft Knowledge Base:

296192 Additional command-line switches

Keywords: kbtshoot kbexpertiseinter kberrmsg kbprb KB299609

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.