You are currently offline, waiting for your internet to reconnect

WD: Word for Windows Startup Switches

This article was previously published under Q70014
Retired KB Content Disclaimer
This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.
SUMMARY
The Word startup switches used at the MS-DOS prompt can also be usedwith the Word icon by adding switches to the command line.
MORE INFORMATION

Word 7.0, 97

To start Word without opening a document, type the following:
winword.exe /n
NOTE: The /n switch may not function correctly when add-ins are loadedfrom the <Winword>\Startup folder (subdirectory). For example, if youinstall Internet Assistant, version 2.0z, for Word 7.0, Word opensdocument1 even when you use the /n switch. If you remove the add-insfrom the <Winword>\Startup folder before you start Word with the /nswitch, Word does not open a new document.

To start Word with a specific document open (where <filename> is thename of your file), type the following:
winword.exe <filename>
To start more than one document:
winword.exe <filename1> <filename2>
To start Word without running any AutoExec macros, type the following:
winword.exe /m
To start Word and run a specific macro (where <macroname> is the nameof your macro), type the following:
winword.exe /m<macroname>
NOTE: There is no space between the /m and the macro name. This switchalso prevents Word from running any AutoExec macros.

To start Word without any templates, add-ins, or user settings, type the following:
winword.exe /a
To start Word and load a specific Add-in:
winword.exe /l <addinpath>
To start Word and open a new document based on a specific template:
winword.exe /t<templatename>
NOTE: There is no space between the "/t" and the <templatename>. If you type a space between the "/t" and <templatename>, Word ignores the "/t" switch and opens the template directly.

To start Word, force registration, and then quit:
winword /regserver
NOTE: Use this switch when you want Microsoft Word to rewrite all of itsregistry keys and reassociate itself with Word files, such as documents andtemplates.

To start Word, force unregistration and then quit:
winword /unregserver
In Word 7.0 for Windows 95 or Word 97 for Windows, you can use ashortcut to create an icon that can include any of the above switches.

In Windows 95, you can start a Windows application from the MS-DOSwindow by using the Start command:
start winword.exe <document or switch>

Word 6.0

To start Word without opening a document, type the following:
win winword.exe /n
NOTE: The /n switch may not function correctly when add-ins are loadedfrom the <Winword>\Startup directory. For additional information,please see the following article in the Microsoft Knowledge Base:
139941 GP Fault in Winword.exe Using /N Switch
To start Word with a specific document open, type the following:
win winword.exe <filename>
To start more than one document, type:
win winword.exe <filename1> <filename2>
where <filename> is the name of your file.

To start Word and automatically run a macro, type the following:
win winword.exe /m<macroname>
where <macroname> is the name of your macro.

NOTE: There is no space between the /m and the macro name.

To start Word without any templates or add-ins, type the following:
win winword.exe /a
To start Word and start the Quick Preview demo, type:
win winword.exe /mHelpQuickPreview
To start Word without a "Tip of the Day," type:
win winword.exe /w

Word 2.0

To start Word without opening a document, type the following:
win winword.exe /n
To start Word with a specific document open, type the following:
win winword.exe <filename>
where <filename> is the name of your file.

To start Word and automatically run a macro, type the following:
win winword.exe /m<macroname>
where <macroname> is the name of your macro.

NOTE: There is no space between the /m and the macro name.

To start Word with the Getting Started lessons running, type thefollowing:
win winword /mhelptutorialgstart
To start Word with the Learning Word lessons running, type thefollowing:
win winword /mhelptutoriallword

Word 1.x

To start Word without opening a document, type the following:
winword.exe /n
To start Word with a specific document open, type the following:
winword.exe <filename>
where <filename> is the name of your file.

To start Word and automatically run a macro, type the following:
winword.exe /m<macroname>
where <macroname> is the name of your macro.

NOTE: There is no space between the /m and the macro name.

To start Word with the tutorial running, type one of the following:
winword.exe /tutorial
-or-
winword.exe /t

References

"Microsoft Word Quick Results," version 6.0, page 13

"Microsoft Word Quick Results," Microsoft Office, page 18

"Microsoft Word for Windows User's Reference," version 1.0, page 337

"Microsoft Word for Windows Getting Started," version 2.0, page 14
options switch start-up 1.0 1.0z winword 7.0 word95 1.10a 2.0 6.0 word7 word6 parameters iaword word97 arguments winword2 \* w95 Tech_Review: steveben T3 kirks update Mikewell Swept97
Properties

Article ID: 70014 - Last Review: 11/16/2006 05:03:22 - Revision: 2.3

  • Microsoft Word 1.1 Standard Edition
  • Microsoft Word 1.1 Standard Edition
  • Microsoft Word 2.0 Standard Edition
  • Microsoft Word 2.0a
  • Microsoft Word for Windows 2.0b
  • Microsoft Word 2.0c
  • Microsoft Word 6.0 Standard Edition
  • Microsoft Word 6.0a
  • Microsoft Word 6.0c
  • Microsoft Word 95 Standard Edition
  • Microsoft Word 95a
  • Microsoft Word 97 Standard Edition
  • kbhowto KB70014
Feedback