Sie sind auf Seite 1von 14

Command line switches overview The overview of commands below are taken from various local and on-line

help files of all Outlook versions and from KB articles discussing them. In the right column youll find to which Outlook version the command applies. Switch Description Creates an item with the specified file as an attachment. Example: "C:\Program Files\Microsoft Office\Office12\Outlook.exe " /a "C:\My Documents\labels.doc" If no item type is specified, IPM.Note is assumed. Cannot be used with message classes that arent based on Outlook. Opens the VBA program specified in otmfilename, rather than %appdata%\Microsoft\Outlo ok\ VbaProject.OTM. Works in

/a path:\<filename>

2000, 2002/X P, 2003, 2007, 2010, 2013

/altvba <otmfilename>

2003, 2007, 2010, 2013

/autorun macroname

Opens Outlook and immediately runs the macro specified in macroname. 2003 (no longer supported after Outlook 2003 SP2) Creates a new item of the specified message class 2002/X P, 2003,

/c <messageclass>

(Outlook forms or any other 2007, valid MAPI form).Examples: 2010, /c ipm.activity 2013 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 Prompts for the default manager of e-mail, news, and contacts. 2000, 2002/X P, 2003, 2007, 2010, 2013 2010, 2013 2007, 2010, 2013

/checkclient

Removes all names and e/cleanautocompletecac mail addresses from the he AutoComplete list. Deletes any custom category names that you have created. Restores categories to the default names.

/cleancategories

/cleanclientrules

2003, Starts Outlook and deletes 2007, client-based rules. 2010, 2013

Deletes the Conversations Actions Table (CAT). CAT entries for a conversation thread usually expire 30 /cleanconvongoingactio days after no activity. The 2010, ns command-line switch clears 2013 all conversation tagging, ignore, and moving rules immediately stopping any additional actions. /cleandmrecords Deletes the logging records saved when a manager or a delegate declines a meeting. Removes Search Folders from the Microsoft Exchange server store. Clears and regenerates free/busy information. This switch can only be used when you are able to connect to your Microsoft Exchange server. Removes all manually added From entries from the profile. Restores receival of new messages in Exchange 2003, 2007, 2010, 2013 2000, 2002/X P, 2003, 2007, 2010, 2013 2000, 2002/X P, 2003, 2007, 2010 2010, 2013 2007, 2010,

/cleanfinders

/cleanfreebusy

/cleanfromaddress /cleanips

Cached mode (KB968773) /cleanprofile

2013

Removes invalid profile keys and recreates default 2003, registry keys where 2007 applicable. Launches Outlook with a clean Personal Folders file (.pst) 2003 2000, 2002/X P, 2003, 2007, 2010, 2013

/cleanpst

/cleanreminders

Clears and regenerates reminders.

/cleanroamedprefs

All previous roamed preferences are deleted and copied again from the local settings on the 2007, computer where this switch 2010, is used. This includes the 2013 roaming settings for reminders, free/busy grid, working hours, calendar publishing, and RSS rules. 2003, Starts Outlook and deletes 2007, client- and server-based 2010, rules. 2013 Deletes all Schedule+ data 2000, (free/busy, permissions, and 2002/X .cal file) from the server P, 2003

/cleanrules

/cleanschedplus

and enables the free/busy information from the Outlook Calendar to be used and viewed by all Schedule+ 1.0 users. /cleanserverrules 2003, Starts Outlook and deletes 2007, server-based rules. 2010, 2013 Removes all RSS, Internet Calendar, and SharePoint subscriptions from Account Settings, but leaves all the previously downloaded 2010, content on your computer. 2013 This is useful if you cannot delete one of these subscriptions within Outlook 2010. 2003, Deletes duplicate reminder 2007, messages. 2010, 2013 Deletes the subscription messages and properties for subscription features. 2003, 2007, 2010, 2013

/cleansharing

/cleansniff

/cleansubscriptions

/cleanviews

2000, Restores default views. All 2002/X custom views you created P, 2003, are lost. 2007,

2010, 2013 /designer Starts Outlook without figuring out if Outlook 2003 should be the default client in the first run. Opens the specified message file (.msg) as an OLE embedding. Also used without command-line parameters for standard OLE co-create. Opens the new window in explorer mode (link bar on). Opens the specified message file (.msg) or Microsoft Office saved search (.oss). 2002/X P, 2003, 2007, 2010 2000, 2002/X P, 2003, 2007, 2010, 2013

/embedding

<msgfilename>

/explorer

/f <msgfilename>

2002/X P, 2003, 2007, (Support for oss-files has 2010, been dropped since Outlook 2013

2003 SP2 due to security restrictions)


/finder /firstrun

Opens the Advanced Find dialog box.

2007, 2010, 2013

Starts Outlook as if it were 2003, run for the first time. 2007

/folder

Opens a new window in folder mode (Navigation Pane off).

2000, 2002/X P, 2003, 2007, 2010, 2013 2003, 2007, 2010, 2013 2003, 2007, 2010, 2013 2002/X P, 2003, 2007, 2010, 2013 2003 2003, 2007, 2010, 2013 2003, 2007, 2010, 2013

/hol <holfilename.hol>

Opens the specified .hol file.

/ical <icsfilename>

Opens the specified .ics file. Launches Outlook and opens/imports the defined MAPI profile (*.prf). If Outlook is already open, queues the profile to be imported on the next clean launch. Opens the specified .olk file. Opens a Help window with the Help topic specified in assetid. Provides a way for the user to add an e-mail name to the item. Only works in conjunction with the /c

/importprf

path:\<filename.prf>

/l <olkfilename> /launchtraininghelp

assetid

/m emailname

command-line parameter. Example: outlook.exe /c ipm.note /m emailname /nocustomize Starts Outlook without loading outcmd.dat (customized toolbars) and *.fav file. Starts Outlook with extensions turned off, but listed in the Add-In Manager. Starts Outlook without checking mail at startup. Starts Outlook with the Reading Pane off and removes the option from the View menu. Prints the specified message (.msg). Prior to Outlook 2007, this does not work with HTML messages. Loads the specified profile. If your profile name contains a space, enclose the profile name in quotation marks (). Opens the Choose Profile 2003, 2007

/noextensions

2003, 2007 2003 2000, 2002/X P, 2003, 2007, 2010, 2013 2002/X P, 2003, 2007, 2010, 2013 2002/X P, 2003, 2007, 2010, 2013 2002/X

/nopollmail

/nopreview

/p <msgfilename>

/profile <profilename>

/profiles

dialog box regardless of the P, 2003, Options setting on the 2007, Tools menu. 2010 Starts Outlook using an existing Outlook window, if one exists. Used in combination with /explorer or /folder. 2000, 2002/X P, 2003, 2007, 2010, 2013

/recycle

/regserver

Rewrites all Outlook specific registry keys and re-associates file extensions without having 2000, to reinstall Outlook or run 2002/X setup with the /y switch. P The settings are stored in the Outlook.srg file located in the same folder as the Outlook program. Starts Outlook and and initiates the following commands on the default mailbox: Upgrades colored For Follow Up flags to Office 2007, Outlook 2007 color 2010, categories. 2013 Upgrades calendar labels to Office Outlook 2007 color categories. Adds all categories used on non-mail items into the

/remigratecategories

Master Category List. Note: This is the same command as Upgrade to Color Categories in each Outlook mailbox properties dialog box. /remigrateconversation s 2010, 2013 Resets default folder names (such as Inbox or Sent Items) to default names in the current Office user interface language.For example, if you first connect to your mailbox Outlook using a Russian user interface, the Russian 2002/X default folder names cannot P, 2003, be renamed. To change the 2007, default folder names to 2010, another language such as 2013 Japanese or English, you can use this switch to reset the default folder names after changing the user interface language or installing a different language version of Outlook. Restores missing folders for 2000, the default delivery 2002/X location. P, 2003,

/resetfoldernames

/resetfolders

2007, 2010, 2013 /resetformregions Empties the form regions 2007, cache and reloads the form 2010, region definitions from the 2013 Windows registry. Rebuilds the Outlook Bar. 2000, 2002/X P

/resetoutlookbar

/resetnavpane

2003, Clears and regenerates the 2007, Navigation Pane for the 2010, current profile. 2013 Restores the default Quick 2010, Steps. All user-created 2013 Quick Steps are deleted. Resets all Instant Search criteria so that the default set of criteria is shown in each module. 2007, 2010, 2013

/resetquicksteps

/resetsearchcriteria

/resetsharedfolders

2007, Removes all shared folders 2010, from the Navigation Pane. 2013 Clears and regenerates the To-Do Bar task list for the 2007, current profile. The To-Do 2010, Bar search folder is deleted 2013 and re-created. Attempts to open the same 2010, profile and folders that 2013

/resettodobar

/restore

were open prior to an abnormal Outlook shutdown. /rpcdiag Opens Outlook and displays the remote procedure call (RPC) connection status dialog. Loads the specified shortcuts file (.fav). Starts Outlook without extensions, Reading Pane, or toolbar customization. 2003, 2007, 2010, 2013 2002/X P, 2003 2000, 2002/X P, 2003, 2007, 2010, 2013 2003, 2007, 2010, 2013 2003 2003, 2007, 2010, 2013 2003, 2007 2002/X P, 2003,

/s <filename>

/safe

/safe:1

Starts Outlook with the Reading Pane off. Starts Outlook without checking mail at startup. Starts Outlook with extensions turned off, but listed in the Add-In Manager. Starts Outlook without loading Outcmd.dat (customized toolbars) and *.fav file. Starts Outlook and opens the specified folder in a

/safe:2

/safe:3

/safe:4

/select foldername

new window. For example, 2007, to open Outlook and display 2010, the default calendar use: 2013 "C:\Program Files\Microsoft Office\Office12\Outlook.exe " /select outlook:calendar /share

feed://URL/filename /share stssync://URL /share web://URL/filename

Specifies a sharing URL to connect to Outlook. For 2007, example, use stssync://URL 2010, to connect a Microsoft 2013 Windows SharePoint Services 3.0 list to Outlook. Starts Outlook and forces a detection of new meeting requests in the Inbox, and then adds them to the calendar. Opens the specified .oft file. 2003, 2007, 2010, 2013 2003, 2007, 2010, 2013

/sniff

/t <oftfilename>

/unregserver

Deletes all registry keys and file associations for Outlook. Its actions are based on the Outlook.srg file located in the same 2000, folder as the Outlook 2002/X application. Use the P /regserver switch to rewrite the registry keys and file associations after using this switch.

/v <vcffilename>

Opens the specified .vcf file.

2003, 2007, 2010, 2013 2003, 2007, 2010, 2013 2003, 2007

/vcal <vcsfilename>

Opens the specified .vcs file. Opens the specified .xnk file.

/x <xnkfilename>

Das könnte Ihnen auch gefallen