Microsoft KB Archive/156982

From BetaArchive Wiki
< Microsoft KB Archive
Revision as of 10:14, 21 July 2020 by X010 (talk | contribs) (Text replacement - """ to """)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Article ID: 156982

Article Last Modified on 8/28/2007



APPLIES TO

  • Microsoft Outlook 97 Standard Edition



This article was previously published under Q156982

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 ("Control what happens when you start Outlook") 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:

  1. In Windows 95/98 or Windows NT Workstation 4.0, use the right mouse button to click the Outlook icon, click Properties, and then click the Shortcut tab.


In Windows NT Workstation 3.51, click the Outlook icon, and then click Properties on the File menu.

  1. In the Target box or the Command Line box, type the path to the Outlook executable file, type a space after the path, and then type one or more of the command-line options listed below.


NOTE: If any path listed in the Target box (or Command Line box) contains spaces, such as C:\Program Files, you must enclose the path in quotation marks and use the correct case for each character in the path. The command-line switch must be typed outside the quotation mark.

Alternate Method

If you used the software patch to replace the Microsoft Exchange Client Inbox on the Windows 95 or Windows NT Workstation 4.0 desktop with an Outlook shortcut and no longer have the client icon, perform the following steps:

  1. Click Start, and then click Run.
  2. In the Open box, type Outlook.exe, a space, and the command-line switch.

    Example: Outlook.exe /cleanreminders

  3. Click OK.

    NOTE: The advantage of this method is that you do not have to go back and remove the command-line switch from the path of the shortcut.

       Command-Line Switch      Purpose
       -------------------      -------
    
       /Cleanfinders            Clears saved searches on the Microsoft Exchange Server.
    
       /CleanFreeBusy           Cleans and regenerates free/busy information.
    
       /CleanReminders          Cleans and regenerates reminders.
    
       /CleanViews              Restores default views.
    
       /ResetFolders            Restores missing folders for the default
                                delivery location.
    
       /ResetOutlookBar         Rebuilds the Outlook Bar.
    
       /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 available in Outlook, search on the phrase "Control what happens when you start Outlook," using the Office Assistant.

For additional information about using the /CleanSchedPlus command line switch, please click the article number below to view the article in the Microsoft Knowledge Base:

Q168687 OL97: Schedule+ 1.0 Users May Not See Outlook Free/Busy Times



Additional query words: startup undocumented parameters

Keywords: kbenv kbinfo KB156982