Outlook 2010 supports a number of command-line switches that modify the way the program starts and functions. Although you can issue the Outlook.exe command with switches
from a command prompt, it’s generally more useful to specify switches through a shortcut,
particularly if you want to use the same set of switches more than once
some of the startup switches that you can use to modify the way Outlook 2010 starts and
functions.
Modifying a shortcut to add command-line switches
Copy the shortcut of outlook in c:\program files\microsoft office\office14 to desktop
right click the shortcut on desktop and add switch to target item.
/a <filename> Opens a message form with the attachment specified by <filename>
/c ipm.activity Opens the journal entry form by itself
/c ipm.appointment Opens the appointment form by itself
/c ipm.contact Opens the contact form by itself
/c ipm.note Opens the message form by itself
/c ipm.stickynote Opens the note form by itself
/c ipm.task Opens the task form by itself
/c <class> Creates an item using the message class specified by <class>
/CheckClient Performs a check to see whether Outlook 2010 is the default application for email, calendar, and contacts
/CleanFreeBusy Regenerates free/busy schedule data
/CleanReminders Regenerates reminders
/Safe Starts Outlook without the Reading pane or toolbar customizations
and with native and COM add-ins disabled
/safe:1 Starts Outlook with the Reading pane off
/safe:3 Starts Outlook with native and COM add-in
本文出自 “郭勇的技术博客” 博客,请务必保留此出处http://guoyong.blog.51cto.com/408495/1737627
原文地址:http://guoyong.blog.51cto.com/408495/1737627