Outlook的命令行参数.doc_第1页
Outlook的命令行参数.doc_第2页
Outlook的命令行参数.doc_第3页
Outlook的命令行参数.doc_第4页
Outlook的命令行参数.doc_第5页
已阅读5页,还剩7页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

The command that starts Microsoft Outlook is Outlook.exe. A command-line switch is the addition of a forward slash (/) followed by the switch name and any parameters the switch has.HideHow to use switches 1. Search for the Microsoft Outlook executable file, Outlook.exe, and make a note of the path to Outlook.exe. For example, the path might be C:Program FilesMicrosoft OfficeOffice11Outlook.exe. 2. Click Start, and then click Run. 3. In the Open box, type the complete path you noted in step 1, including the file name. Press the SPACEBAR once, and then type a forward slash mark (/) followed by the switch. For example, if you want to use the CleanReminders switch, the command you type in the Open box should look like this: C:Program FilesMicrosoft OfficeOffice11Outlook.exe /Cleanreminders Note Paths that include spaces between words must be enclosed in quotation marks () and are case sensitive. 4. To run the command, click OK.HideSwitch referenceSwitch Description/a Creates an item with the specified file as an attachment.Example: * C:Program FilesMicrosoft OfficeOffice11Outlook.exe /a C:My Documentslabels.docIf no item type is specified, IPM.Note is assumed. Cannot be used with message classes that arent based on Outlook./altvba otmfilename Opens the VBA program specified in otmfilename, rather than %appdata%MicrosoftOutlookVbaProject.OTM./c messageclass Creates a new item of the specified message class (Outlook forms or any other valid MAPI form).Examples: * /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./cleanclientrules Starts Outlook and deletes client-based rules./cleandmrecords Deletes the logging records saved when a manager or a delegate declines a meeting./cleanfinders Removes Search Folders from the Microsoft Exchange server store./cleanfreebusy Clears and regenerates free/busy information. This switch can only be used when you are able to connect to your Microsoft Exchange server./cleanprofile Removes invalid profile keys and recreates default registry keys where applicable./cleanpst Launches Outlook with a clean Personal Folders file (.pst) (Personal Folders file (.pst): Data file that stores your messages and other items on your computer. You can assign a .pst file to be the default delivery location for e-mail messages. You can use a .pst to organize and back up items for safekeeping.)./cleanreminders Clears and regenerates reminders./cleanrules Starts Outlook and deletes client- and server-based rules./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./cleanserverrules Starts Outlook and deletes server-based rules./cleansniff Deletes duplicate reminder messages./cleansubscriptionsDeletes the subscription messages and properties for subscription features./cleanviews Restores default views. All custom views you created are lost./designer Starts Outlook without figuring out if Outlook should be the default client in the first run./embedding Opens the specified message file (.msg) as an OLE embedding. Also used without command-line parameters for standard OLE co-create./f msgfilename Opens the specified message file (.msg) or Microsoft Office saved search (.oss)./firstrun Starts Outlook as if it were run for the first time./hol holfilename Opens the specified .hol file./ical icsfilename Opens the specified .ics file./importprf prffilename 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./l olkfilename Opens the specified .olk file./launchtraininghelp assetid Opens a Help window with the Help topic specified in assetid./m emailname Provides a way for the user to add an e-mail name to the item. Only works in conjunction with the /c command-line parameter.Example: * Outlook.exe /c ipm.note /m emailname/nocustomize Starts Outlook without loading outcmd.dat (customized toolbars) and *.fav file./noextensions Starts Outlook with extensions turned off, but listed in the Add-In Manager./nopollmail Starts Outlook without checking mail at startup./nopreview Starts Outlook with the Reading Pane off./p msgfilename Prints the specified message (.msg). Does not work with HTML./profile profilename Loads the specified profile. If your profile name contains a space, enclose 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. Used in combination with /explorer or /folder./resetfoldernames 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 default folder names cannot be renamed. To change the default folder names to another language such as 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./resetfolders Restores missing folders for the default delivery location./resetnavpane Clears and regenerates the Navigation Pane for the current profile./rpcdiag Opens Outlook and displays the remote procedure call (RPC) connection status dialog./s filename Loads the specified shortcuts file (.fav)./safe Starts Outlook without extensions, Reading Pane, or toolbar customization./safe:1 Starts Outlook with the Reading Pane off./safe:2 Starts Outlook without checking mail at startup./safe:3 Starts Outlook with extensions turned off, but listed in the Add-In Manager./safe:4 Starts Outlook without loading Outcmd.dat (customized toolbars) and *.fav file./select foldername Starts Outlook and opens the specified folder in a new window. For example, to open Outlook and display the default calendar use: c:Program FilesMicrosoft OfficeOffice11Outlook.exe /select outlook:calendar/sniff Starts Outlook and forces a detection of new meeting requests in the Inbox, and then adds them to the calendar./t oftfilename Opens the specified .oft file./v vcffilename Opens the specified .vcf file./vcal vcsfilename Opens the specified .vcs file./x xnkfilename Opens the specified .xnk file.启动 Microsoft Outlook 的命令是 Outlook.exe。命令行参数开关是正斜杠后跟开关名和开关具有的任何参数。 开关的用法查找 Microsoft Outlook 可执行文件 Outlook.exe 并记下它的路径。例如,路径可能是 C:Program FilesMicrosoft OfficeOffice11Outlook.exe。 单击“启动”,再单击“运行”。 在“打开”框中,键入在第 1 步中记下的完整路径,包括文件名。按空格键一次,再键入正斜杠 (/) 和后面的开关。 例如,如果想使用 CleanReminders 开关,在“打开”框中键入的命令是:C:Program FilesMicrosoft OfficeOffice11Outlook.exe /Cleanreminders 注释如果路径中的两个词之间包含空格,则必须用双引号 () 括起,路径区分大小写。若要运行此命令,请单击“确定”。开关参考开关 说明 /a以指定的文件为附件创建一个项目。例如: C:Program FilesMicrosoft OfficeOffice10Outlook.exe /a C:My Documentslabels.doc如果没有指定项目类型,假定为 IPM.Note 类型。该开关不能用于不是基于 Outlook 的邮件类。/altvba otm200575174901.htm打开在 otm200575174901.htm 中指定的 VBA 程序,而不是 %appdata%MicrosoftOutlookVbaProject.OTM。/autorun macroname打开 Outlook 并立即运行在 macroname 中指定的宏。/c messageclass新建一个指定邮件类的项目(Outlook 窗体或者任何其他有效的 MAPI 窗体)。例如: /c ipm.activity 创建一个“日记”条目 /c ipm.appointment 创建一个约会 /c ipm.contact 创建一个联系人 /c ipm.note 创建一个电子邮件 /c ipm.stickynote 创建一个便笺 /c ipm.task 创建一个任务/checkclient提示电子邮件、新闻和联系人的默认管理器。/cleanclientrules启动 Outlook 并删除基于客户端的规则。/cleandmrecords删除当管理器或者代理谢绝一次会议时保存的日志记录。/cleanfinders从 Microsoft Exchange Server 存储区中删除搜索文件夹。/cleanfreebusy清除并重新生成忙/闲信息。此开关只能在可以连接到 Microsoft Exchange Server 时使用。/cleanprofile删除无效的配置文件表项并重新建立适用的默认注册表项。/cleanpst使用一个空的个人文件夹文件 (.pst) (个人文件夹文件 (.pst):在您计算机上存储邮件和其他项目的数据文件。可以分配一个 .pst 文件作为默认电子邮件的送达位置。可以使用 .pst 文件来备份项目以保护项目。) 启动 Outlook。/cleanreminders清除并重新生成提醒。/cleanrules启动 Outlook 并删除基于客户端和服务器的规则。/cleanschedplus从服务器上删除所有的 Schedule+ 数据( 忙/闲、权限和 .cal 文件)并允许所有的 Schedule+ 1.0 用户使用和查看 Outlook 日历中的忙/闲信息。/cleanserverrules启动 Outlook 并删除基于服务器的规则。/cleansniff删除重复的提醒邮件。/cleansubscriptions删除订阅邮件和订阅功能的属性。/cleanviews恢复默认视图。创建的所有自定义视图都会丢失。/designer启动 Outlook 并且不指定 Outlook 在第一次运行时是否应为默认客户端。/embedding打开指定的邮件文件 (.msg) 作为 OLE 嵌入。也可以不带命令行参数作为标准 OLE 共同创建的对象。/explorer以“浏览器”模式(有链接栏)打开新窗口。/f msg200575174901.htm打开指定的邮件文件 (.msg) 或者 Microsoft Office Saved Search 文件 (.oss)。/firstrun像第一次运行那样启动 Outlook。/folder以“文件夹”模式打开新窗口(导航窗格关闭)。/hol hol200575174901.htm打开指定的 .hol 文件。/ical ics200575174901.htm打开指定的 .ics 文件。/importprf prf200575174901.htm启动 Outlook 并打开/导入已定义的 MAPI 配置文件 (*.prf)。如果 Outlook 已经打开,则将该配置文件插入队列,等候下一次不带配置文件启动时被导入。/l olk200575174901.htm打开指定的 .olk 文件。/launchtraininghelp assetid打开由 assetid 指定的帮助主题的帮助窗口。/m emailname给用户提供一种向项目添加电子邮件名称的方法。只能与 /c 命令行参数一起使用。例如: Outlook.exe /c ipm.note /m emailname/nocustomize启动 Outlook 并且不加载 outcmd.dat(自定义工具栏)和 *.fav 文件。/noextensions启动 Outlook,扩展程序处于关闭状态,但在加载项管理器中列出。/nopollmail启动 Outlook 并在启动时不检查邮件。/nopreview启动 Outlook,阅读窗格处于关闭状态。/p msg200575174901.htm打印指定的邮件 (.msg)。不能用于 HTML 邮件。/profile pro200575174901.htm加载指

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论