Outlook :: Command Line Switches

From MS article: Q296192
The Microsoft Outlook Help file contains an entry that lists command-line switches, which you can use to start Outlook in a specific mode or with a specific form. This article lists additional command-line switches that are not included in the Outlook Help file.
Example, if you want to use the /Cleanreminders switch, the command-line should read as follows:
"C:\Program Files\Microsoft Office\Office\Outlook.exe." /Cleanreminders
NOTE: The full path needs to be in quotation marks to preserve long filenames.

Cleans and regenerates free/busy information.

Cleans and regenerates reminders.

Restores default views.

Restores missing folders for the default delivery location.

Resets the language of the default folders to the language of the Outlook client.

Rebuilds the Outlook Bar.

Turns off the Preview pane at startup.

Deletes all Schedule+ data (free/busy, permissions, and .cal file) from the server.

Starts Outlook without extensions, preview pane, or toolbar customization.

Activates an existing Outlook window.

Opens new window in "folder" mode (Outlook Bar and Folder List off).

Shows MAPI Profiles dialog box regardless of the options setting on the Tools menu.

Loads specified profile. (If your profile contains a space, Outlook may treat it as an invalid profile name when using this switch. Work around this by wrapping the profile name in quotes.)

Loads specified shortcuts file (.fav file).

/f Opens .

Prints . Same as /f except is associated with the print verb instead of open.

Used to open a .msg file as an OLE embedding. Standard OLE command-line argument.

Creates a new item of the specified message class (Outlook forms or any other valid MAPI form).

/a path:\
Opens a new e-mail message with the specified file attached.


Post a Comment

Links to this post:

Create a Link

<< Home