|
Outlook Examples |
Top Previous Next |
|
Command: c:\Program Files\Microsoft Office\Office\OUTLOOK.EXE
Parameters (Command-line switches): /a "path\filename" creates an item with the specified file as an attachment. For example: c:\Program Files\Microsoft Office\Office\OUTLOOK.EXE /a "C:\My Documents\labels.doc"
/c messageclass creates a new item of the specified message class (Outlook forms or any other valid MAPI form).
/c ipm.activity creates a Journal entry.
/c ipm.appointment creates an appointment.
/c ipm.contact creates a contact.
/c ipm.note creates an e-mail message.
/c ipm.stickynote creates a note.
/c ipm.task creates a task.
/CheckClient prompts for the default manager of e-mail, news, and contacts.
/Cleanfinders removes saved searches from the Microsoft Exchange Server store.
/CleanFreeBusy cleans and regenerates free/busy information.
/CleanReminders cleans and regenerates reminders.
/CleanSchedPlus deletes all Schedule+ data (free/busy, permissions, and .cal file) from the server and enables the free/busy information from the Outlook Calendar to be used and viewed by all Schedule+ 1.0 users.
/CleanViews restores default views. All custom views you created are lost.
/Embedding msgfilename opens the specified message file (.msg) as an OLEO embedding.
/f msgfilename opens the specified message file (.msg).
/No preview turns off the Preview Pane and removes the option from the View menu.
/p msgfilename prints the specified message file (.msg).
/Profile pro filename loads the specified profile. (If your profile name contains a space, enclosed the profile name in quotation marks (").
/Profiles opens the Choose Profile dialog box regardless of the options setting on the Tools menu.
/Recycle starts Outlook using an existing Outlook window, if one exists.
/Regserver rewrites all Outlook specific registry keys and re-associates file extensions without having to reinstall Outlook or run setup with the /y switch. The settings are stored in the Outlook.srg file located in the same folder as the Outlook program.
/ResetFolders restores missing folders for the default delivery location.
/ResetOutlookBar rebuilds the Outlook Bar.
/s filename loads the specified shortcuts file (.fav).
/Safe starts Outlook without extensions, Preview Pane or toolbar customization.
/select outlook:\\foldername starts Outlook and opens the specified folder. For example, to open Outlook and display the Calendar use: c:\Program Files\Microsoft Office\Office\OUTLOOK.EXE /select outlook:\\calendar
/Unregserver deletes all registry keys and file associations for Outlook. Its actions are based on the Outlook.srg file located in the same folder as the Outlook application. Use the /regserver switch to rewrite the registry keys and file associations after using this switch.
These Outlook examples was contributed by Tore Westland ~ http://office.microsoft.com/assistance/2002/articles/OlCommandLineSwitches.aspx |