OL98: Additional Command-Line Switches
ID: Q182112
|
The information in this article applies to:
WARNING: ANY USE BY YOU OF THE COMMAND-LINE SWITCHES PROVIDED IN THIS
ARTICLE IS AT YOUR OWN RISK. Microsoft provides these command-line
switches without warranty of any kind, either express or implied,
including but not limited to the implied warranties of merchantability
and/or fitness for a particular purpose.
IMPORTANT: This article contains information about editing the registry.
Before you edit the registry, make sure you understand how to restore it
if a problem occurs. For information about how to do this, view the
"Restoring the Registry" Help topic in Regedit.exe or the "Restoring a
Registry Key" Help topic in Regedt32.exe.
SUMMARY
The Microsoft Outlook Help file contains an entry that lists command
line switches, which you can use to start Outlook in a specific mode or
with a specific form.
This article lists additional command-line switches that are not included
in the Help topic.
MORE INFORMATION
To use command-line switches, follow these steps:
- Click Start, point to Find, and then click Files Or Folders.
- Type "Outlook.exe" in the Named box and then click Find Now.
- Note the path to the Outlook executable file as viewed under In Folder
and write it down for reference. For example, the file may be located in
the path:
c:\Program Files\Microsoft Office\Office\Outlook.exe
- On the File menu, click Close.
- Click Start, and then click Run.
- Type the complete path noted in step 3, including the file name.
Press SPACEBAR once and then type a forward slash mark ("/") followed by
the switch. Press ENTER to execute the command.
For example, if you want to use the CleanReminders switch, the command
line in the Open box should read:
"c:\Program Files\Microsoft Office\Office\Outlook.exe" /Cleanreminders
NOTE: The full path must be in quotation marks to preserve long file
names.
Command-Line Switch Purpose
------------------- -------
/CleanFreeBusy Cleans and regenerates free/busy information.
/Cleanfinders Removes saved searches from the Exchange
Server store.
/CleanReminders Cleans and regenerates reminders.
/CleanViews Restores default views. All custom views you
created are lost.
/CheckClient Prompt for default manager of e-mail,
news, and contacts
/ResetFolders Restores missing folders for the default
delivery location.
/ResetOutlookBar Rebuilds the Outlook Bar.
/Safe Launches Outlook without extensions, preview
pane or toolbar customization.
/Nopreview Turns off the Preview Pane and removes the
option from the View Menu.
/CleanSchedPlus Deletes all Schedule+ data (free/busy,
permissions, and .CAL file) from the server
and allows the free/busy information from the
Outlook Calendar to be used and viewed by all
Schedule+ 1.0 users.
/Regserver Rewrites all Outlook specific registry
keys and re-associates file extensions without
having to reinstall Outlook or run setup with
the /y switch. The settings are stored in the
Outlook.SRG file located in the same folder as
the Outlook application.
/Unregserver Similar to /Regserver, except it deletes all
registry keys and file associations for
Outlook. Its actions are based on the
Outlook.SRG file located in the same folder as
the Outlook application.
Use the /regserver switch to rewrite the
registry keys and file associations after using
this command-line switch.
REFERENCES
For information about other command-line switches, search on the phrase
"Control what happens when you start Outlook," using the Office Assistant.
For additional information about using the /CleanSchedPlus commandline
switch, please see the following article in the Microsoft Knowledge Base:
Q179547 OL98: Schedule+ 1.0 Users May Not See Outlook Free/Busy Times
Additional query words:
startup undocumented
Keywords : kbdta
Version : WINDOWS:
Platform : WINDOWS
Issue type : kbhowto