Word for Windows Startup Switches

Last reviewed: July 30, 1997
Article ID: Q70014
The information in this article applies to:
  • Microsoft Word for Windows versions 1.0, 1.1, 1.1a, 2.0, 2.0a, 2.0a-CD, 2.0b, 2.0c, 6.0, 6.0a, 6.0c
  • Microsoft Word for Windows 95, versions 7.0, 7.0a
  • Microsoft Word 97 for Windows

SUMMARY

The Word startup switches used at the MS-DOS prompt can also be used with 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 loaded from the <Winword>\Startup folder (subdirectory). For example, if you install Internet Assistant, version 2.0z, for Word 7.0, Word opens document1 even when you use the /n switch. If you remove the add-ins from the <Winword>\Startup folder before you start Word with the /n switch, Word does not open a new document.

To start Word with a specific document open (where <filename> is the name 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 name of your macro), type the following:

   winword.exe /m<macroname>

NOTE: There is no space between the /m and the macro name. This switch also prevents Word from running any AutoExec macros.

To start Word without any templates or add-ins, 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 document as a template:

   winword.exe /t

c:\msoffice\winword\winword.exe /tc:\msoffice\winword\doc1.doc)

In Word 7.0 for Windows 95 or Word 97 for Windows, you can use a shortcut to create an icon that can include any of the above switches.

In Windows 95, you can start a Windows application from the MS-DOS window 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 loaded from the <Winword>\Startup directory. For additional information, please see the following article in the Microsoft Knowledge Base:

ARTICLE-ID: Q139941

TITLE     : 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 the following:

   win winword /mhelptutorialgstart

To start Word with the Learning Word lessons running, type the following:

   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


KBCategory: kbsetup
KBSubcategory:
Additional query words: options switch start-up 1.0 1.0z winword
7.0 word95 1.10 1.10a 2.0 2.0a 2.0a-CD 2.0b 2.0c 6.0 6.0a
word7 word6 6.0c parameters iaword 7.0a word97 start-up
arguments winword2
Version : 1.x 2.x 6.0 6.0a 6.0c 7.0 7.
Platform : WINDOWS


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: July 30, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.