最近碰到Outlook2007无法打开,提示“无法启动Microsoft office outlook ,无法打开outlook窗口”,使用scanost,scanpst都无法修复好,在网上找到解决方案,使用Outlook.exe /resetnavpane这个命令成功启动了Outlook(使用该命令请先进入到Outlook的安装目录,在C:\Program Files\Microsoft Office\Office12这里)
以下是Outlook相关的命令行:
To use switches, at the Start menu, Run command type:
Outlook /switch
Occasionally you’ll need to use the full path to Outlook, so the command line looks like:
“C:\Program Files\Microsoft Office\Office12\Outlook.exe ” /switch
Notes:
Before using a command line switch, you need to close Outlook and verify it’s closed in Task Manager’s Processes tab.
Paths that include spaces between words must be enclosed in quotation marks (“) and are case sensitive. You’ll need the full path if you create desktop shortcuts.
If you use Vista, you can type the command line in the Start Search field on the Start menu or type Run to open the Run dialog. The Windows key+R will also open the Run dialog in both Windows XP and Vista.
/a
Creates an item with the specified file as an attachment.
Usage:
Outlook /a “C:\My Documents\labels.doc”
If no item type is specified, IPM.Note form is assumed. This switch cannot be used with message classes that aren’t based on Outlook.
Opens the VBA program specified in otmfilename, rather than %appdata%\Microsoft\Outlook\VbaProject.OTM. Use this switch when you need to run macros not in your VBAProject file.
/autorun macroname
Opens Outlook and immediately runs the macro specified in macroname.
/c messageclass
Creates a new item of the specified message class, works for any valid MAPI form.
Examples:
/checkclient
Prompts for the default manager of e-mail, news, and contacts.
Starts Outlook and deletes client-based rules. Used by non-Exchange account users.
/cleandmrecords
Deletes the logging records saved when a manager or a delegate declines a meeting. Used by Exchange Server accounts.
/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)
/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. Used only with Exchange server accounts.
/cleansniff
Overrides the programmatic lockout that determines which of your computers (when running Outlook simultaneously) processes meeting items. The lockout process helps prevent duplicate reminder messages. This switch clears the lockout on the computer it is used, enabling Outlook to process meeting items.
/cleansubscriptions
Deletes the subscription messages and properties for subscription features. Used with SharePoint alerts.
/cleanviews
Restores default views. Use with care as 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.
/explorer
Opens the new window in “explorer” mode (link bar on).
/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.
/folder
Opens a new window in “folder” mode (Navigation Pane off).
/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. Use either the full address or let alias resolve. Only works in conjunction with the /c command-line parameter.
Usage:
Outlook.exe /c ipm.note /m test@poremsky.comOutlook.exe /c ipm.note /m dianep
/nocustomize
Starts Outlook without loading outcmd.dat (customized toolbars). With older versions of Outlook the *.fav file doesn’t load.
/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 and removes the option from the View menu.
/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. Can be used in combination with /explorer or /folder. The Outlook shortcut in the Quick Launch bar uses the /recycle switch.
/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. Removes all Shortcuts and Favorite Folders. Has the same effect as deleting profilename.xml in your user directory.
/rpcdiag
Opens Outlook and displays the remote procedure call (RPC) connection status dialog.
/s filename
Loads the specified shortcuts file (.fav). Use to load *.fav files created in older versions of Outlook.
Starts Outlook without extensions, Reading Pane, or toolbar customization.
/safe:1
Starts Outlook with the Reading Pane off. New to Outlook 2003.
/safe:2
Starts Outlook without checking mail at startup. New to Outlook 2003.
/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.
Starts Outlook and opens the specified folder in a new window.
Usage:
“C:\Program Files\Microsoft Office\Office11\Outlook.exe” /select outlook:calendar
outlook /select “outlook:Inbox\Old Messages”
/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.
自由广告区 |
分类导航 |
邮件新闻资讯: IT业界 | 邮件服务器 | 邮件趣闻 | 移动电邮 电子邮箱 | 反垃圾邮件|邮件客户端|网络安全 行业数据 | 邮件人物 | 网站公告 | 行业法规 网络技术: 邮件原理 | 网络协议 | 网络管理 | 传输介质 线路接入 | 路由接口 | 邮件存储 | 华为3Com CISCO技术 | 网络与服务器硬件 操作系统: Windows 9X | Linux&Uinx | Windows NT Windows Vista | FreeBSD | 其它操作系统 邮件服务器: 程序与开发 | Exchange | Qmail | Postfix Sendmail | MDaemon | Domino | Foxmail KerioMail | JavaMail | Winwebmail |James Merak&VisNetic | CMailServer | WinMail 金笛邮件系统 | 其它 | 反垃圾邮件: 综述| 客户端反垃圾邮件|服务器端反垃圾邮件 邮件客户端软件: Outlook | Foxmail | DreamMail| KooMail The bat | 雷鸟 | Eudora |Becky! |Pegasus IncrediMail |其它 电子邮箱: 个人邮箱 | 企业邮箱 |Gmail 移动电子邮件:服务器 | 客户端 | 技术前沿 邮件网络安全: 软件漏洞 | 安全知识 | 病毒公告 |防火墙 攻防技术 | 病毒查杀| ISA | 数字签名 邮件营销: Email营销 | 网络营销 | 营销技巧 |营销案例 邮件人才:招聘 | 职场 | 培训 | 指南 | 职场 解决方案: 邮件系统|反垃圾邮件 |安全 |移动电邮 |招标 产品评测: 邮件系统 |反垃圾邮件 |邮箱 |安全 |客户端 |