Outlook的命令行参数.docx

上传人:b****5 文档编号:5901917 上传时间:2023-01-02 格式:DOCX 页数:11 大小:19.58KB
下载 相关 举报
Outlook的命令行参数.docx_第1页
第1页 / 共11页
Outlook的命令行参数.docx_第2页
第2页 / 共11页
Outlook的命令行参数.docx_第3页
第3页 / 共11页
Outlook的命令行参数.docx_第4页
第4页 / 共11页
Outlook的命令行参数.docx_第5页
第5页 / 共11页
点击查看更多>>
下载资源
资源描述

Outlook的命令行参数.docx

《Outlook的命令行参数.docx》由会员分享,可在线阅读,更多相关《Outlook的命令行参数.docx(11页珍藏版)》请在冰豆网上搜索。

Outlook的命令行参数.docx

Outlook的命令行参数

ThecommandthatstartsMicrosoftOutlookisOutlook.exe.Acommand-lineswitchistheadditionofaforwardslash(/)followedbytheswitchnameandanyparameterstheswitchhas.

HideHowtouseswitches

  1.SearchfortheMicrosoftOutlookexecutablefile,Outlook.exe,andmakeanoteofthepathtoOutlook.exe.Forexample,thepathmightbeC:

\ProgramFiles\MicrosoftOffice\Office11\Outlook.exe.

  2.ClickStart,andthenclickRun.

  3.IntheOpenbox,typethecompletepathyounotedinstep1,includingthefilename.PresstheSPACEBARonce,andthentypeaforwardslashmark(/)followedbytheswitch.

    Forexample,ifyouwanttousetheCleanRemindersswitch,thecommandyoutypeintheOpenboxshouldlooklikethis:

    "C:

\ProgramFiles\MicrosoftOffice\Office11\Outlook.exe"/Cleanreminders

    Note  Pathsthatincludespacesbetweenwordsmustbeenclosedinquotationmarks(")andarecasesensitive.

  4.Torunthecommand,clickOK.

HideSwitchreference

Switch      Description

/a

      

Createsanitemwiththespecifiedfileasanattachment.

Example:

  *"C:

\ProgramFiles\MicrosoftOffice\Office11\Outlook.exe"/a"C:

\MyDocuments\labels.doc"

Ifnoitemtypeisspecified,IPM.Noteisassumed.Cannotbeusedwithmessageclassesthataren'tbasedonOutlook.

/altvbaotmfilename

      

OpenstheVBAprogramspecifiedinotmfilename,ratherthan%appdata%\Microsoft\Outlook\VbaProject.OTM.

/cmessageclass

      

Createsanewitemofthespecifiedmessageclass(OutlookformsoranyothervalidMAPIform).

Examples:

  */cipm.activitycreatesaJournalentry

  */cipm.appointmentcreatesanappointment

  */cipm.contactcreatesacontact

  */cipm.notecreatesane-mailmessage

  */cipm.stickynotecreatesanote

  */cipm.taskcreatesatask

/checkclient

      

Promptsforthedefaultmanagerofe-mail,news,andcontacts.

/cleanclientrules

      

StartsOutlookanddeletesclient-basedrules.

/cleandmrecords

      

Deletestheloggingrecordssavedwhenamanageroradelegatedeclinesameeting.

/cleanfinders

      

RemovesSearchFoldersfromtheMicrosoftExchangeserverstore.

/cleanfreebusy

      

Clearsandregeneratesfree/busyinformation.ThisswitchcanonlybeusedwhenyouareabletoconnecttoyourMicrosoftExchangeserver.

/cleanprofile

      

Removesinvalidprofilekeysandrecreatesdefaultregistrykeyswhereapplicable.

/cleanpst

      

LaunchesOutlookwithacleanPersonalFoldersfile(.pst)(PersonalFoldersfile(.pst):

Datafilethatstoresyourmessagesandotheritemsonyourcomputer.Youcanassigna.pstfiletobethedefaultdeliverylocationfore-mailmessages.Youcanusea.psttoorganizeandbackupitemsforsafekeeping.).

/cleanreminders

      

Clearsandregeneratesreminders.

/cleanrules

      

StartsOutlookanddeletesclient-andserver-basedrules.

/cleanschedplus

      

DeletesallSchedule+data(free/busy,permissions,and.calfile)fromtheserverandenablesthefree/busyinformationfromtheOutlookCalendartobeusedandviewedbyallSchedule+1.0users.

/cleanserverrules

      

StartsOutlookanddeletesserver-basedrules.

/cleansniff

      

Deletesduplicateremindermessages.

/cleansubscriptions

Deletesthesubscriptionmessagesandpropertiesforsubscriptionfeatures.

/cleanviews

      

Restoresdefaultviews.Allcustomviewsyoucreatedarelost.

/designer

      

StartsOutlookwithoutfiguringoutifOutlookshouldbethedefaultclientinthefirstrun.

/embedding

      

Opensthespecifiedmessagefile(.msg)asanOLEembedding.Alsousedwithoutcommand-lineparametersforstandardOLEco-create.

/fmsgfilename

      

Opensthespecifiedmessagefile(.msg)orMicrosoftOfficesavedsearch(.oss).

/firstrun

      

StartsOutlookasifitwererunforthefirsttime.

/holholfilename

      

Opensthespecified.holfile.

/icalicsfilename

      

Opensthespecified.icsfile.

/importprfprffilename

      

LaunchesOutlookandopens/importsthedefinedMAPIprofile(*.prf).IfOutlookisalreadyopen,queuestheprofiletobeimportedonthenextcleanlaunch.

/lolkfilename

      

Opensthespecified.olkfile.

/launchtraininghelpassetid

      

OpensaHelpwindowwiththeHelptopicspecifiedinassetid.

/memailname

      

Providesawayfortheusertoaddane-mailnametotheitem.Onlyworksinconjunctionwiththe/ccommand-lineparameter.

Example:

  *Outlook.exe/cipm.note/memailname

/nocustomize

      

StartsOutlookwithoutloadingoutcmd.dat(customizedtoolbars)and*.favfile.

/noextensions

      

StartsOutlookwithextensionsturnedoff,butlistedintheAdd-InManager.

/nopollmail

      

StartsOutlookwithoutcheckingmailatstartup.

/nopreview

      

StartsOutlookwiththeReadingPaneoff.

/pmsgfilename

      

Printsthespecifiedmessage(.msg).DoesnotworkwithHTML.

/profileprofilename

      

Loadsthespecifiedprofile.Ifyourprofilenamecontainsaspace,enclosetheprofilenameinquotationmarks(").

/profiles

      

OpenstheChooseProfiledialogboxregardlessoftheOptionssettingontheToolsmenu.

/recycle

      

StartsOutlookusinganexistingOutlookwindow,ifoneexists.Usedincombinationwith/exploreror/folder.

/resetfoldernames

      

Resetsdefaultfoldernames(suchasInboxorSentItems)todefaultnamesinthecurrentOfficeuserinterfacelanguage.

Forexample,ifyoufirstconnecttoyourmailboxOutlookusingaRussianuserinterface,theRussiandefaultfoldernamescannotberenamed.TochangethedefaultfoldernamestoanotherlanguagesuchasJapaneseorEnglish,youcanusethisswitchtoresetthedefaultfoldernamesafterchangingtheuserinterfacelanguageorinstallingadifferentlanguageversionofOutlook.

/resetfolders

      

Restoresmissingfoldersforthedefaultdeliverylocation.

/resetnavpane

      

ClearsandregeneratestheNavigationPaneforthecurrentprofile.

/rpcdiag

      

OpensOutlookanddisplaystheremoteprocedurecall(RPC)connectionstatusdialog.

/sfilename

      

Loadsthespecifiedshortcutsfile(.fav).

/safe

      

StartsOutlookwithoutextensions,ReadingPane,ortoolbarcustomization.

/safe:

1

      

StartsOutlookwiththeReadingPaneoff.

/safe:

2

      

StartsOutlookwithoutcheckingmailatstartup.

/safe:

3

      

StartsOutlookwithextensionsturnedoff,butlistedintheAdd-InManager.

/safe:

4

      

StartsOutlookwithoutloadingOutcmd.dat(customizedtoolbars)and*.favfile.

/selectfoldername

      

StartsOutlookandopensthespecifiedfolderinanewwindow.Forexample,toopenOutlookanddisplaythedefaultcalendaruse:

"c:

\ProgramFiles\MicrosoftOffice\Office11\Outlook.exe"/selectoutlook:

calendar

/sniff

      

StartsOutlookandforcesadetectionofnewmeetingrequestsintheInbox,andthenaddsthemtothecalendar.

/toftfilename

      

Opensthespecified.oftfile.

/vvcffilename

      

Opensthespecified.vcffile.

/vcalvcsfilename

      

Opensthespecified.vcsfile.

/xxnkfilename

      

Opensthespecified.xnkfile.

启动MicrosoftOutlook的命令是Outlook.exe。

命令行参数开关是正斜杠后跟开关名和开关具有的任何参数。

开关的用法

查找MicrosoftOutlook可执行文件Outlook.exe并记下它的路径。

例如,路径可能是C:

\ProgramFiles\MicrosoftOffice\Office11\Outlook.exe。

单击“启动”,再单击“运行”。

在“打开”框中,键入在第1步中记下的完整路径,包括文件名。

按空格键一次,再键入正斜杠(/)和后面的开关。

例如,如果想使用CleanReminders开关,在“打开”框中键入的命令是:

"C:

\ProgramFiles\MicrosoftOffice\Office11\Outlook.exe"/Cleanreminders

注释  如果路径中的两个词之间包含空格,则必须用双引号(")括起,路径区分大小写。

若要运行此命令,请单击“确定”。

开关参考

开关说明

/a

以指定的文件为附件创建一个项目。

例如:

"C:

\ProgramFiles\MicrosoftOffice\Office10\Outlook.exe"/a"C:

\MyDocuments\labels.doc"

如果没有指定项目类型,假定为IPM.Note类型。

该开关不能用于不是基于Outlook的邮件类。

/altvbaotm200575174901.htm

打开在otm200575174901.htm中指定的VBA程序,而不是%appdata%\Microsoft\Outlook\VbaProject.OTM。

/autorunmacroname

打开Outlook并立即运行在macroname中指定的宏。

/cmessageclass

新建一个指定邮件类的项目(Outlook窗体或者任何其他有效的MAPI窗体)。

例如:

/cipm.activity创建一个“日记”条目

/cipm.appointment创建一个约会

/cipm.contact创建一个联系人

/cipm.note创建一个电子邮件

/cipm.stickynote创建一个便笺

/cipm.task创建一个任务

/checkclient

提示电子邮件、新闻和联系人的默认管理器。

/cleanclientrules

启动Outlook并删除基于客户端的规则。

/cleandmrecords

删除当管理器或者代理谢绝一次会议时保存的日志记录。

/cleanfinders

从MicrosoftExchangeServer存储区中删除搜索文件夹。

/cleanfreebusy

清除并重新生成忙/闲信息。

此开关只能在可以连接到MicrosoftExchangeServer时使用。

/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

以“浏览器”模式(有链接栏)打开新窗口。

/fmsg200575174901.htm

打开指定的邮件文件(.msg)或者MicrosoftOfficeSavedSearch文件(.oss)。

/firstrun

像第一次运行那样启动Outlook。

/folder

以“文件夹”模式打开新窗口(导航窗格关闭)。

/holhol200575174901.htm

打开指定的.hol文件。

/icalics200575174901.htm

打开指定的.ics文件。

/importprfprf200575174901.htm

启动Outlook并打开/导入已定义的MAPI配置文件(*.prf)。

如果Outlook已经打开,则将该配置文件插入队列,等候下一次不带配置文件启动时被导入。

/lolk200575174901.htm

打开指定的.olk文件。

/launchtraininghelpassetid

打开由assetid指定的帮助

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 考试认证 > 司法考试

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1