WD: Word for Windows Startup SwitchesID: Q70014
|
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.
winword.exe /nNOTE: 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.
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 /mTo 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.
winword.exe /aTo 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)To start Word, force registration, and then quit:
winword /regserverNOTE: Use this switch when you want Microsoft Word to rewrite all of its registry keys and reassociate itself with Word files, such as documents and templates.
winword /unregserverIn 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.
start winword.exe <document or switch>
win winword.exe /nNOTE: 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:
To start Word with a specific document open, type the following:Q139941 GP Fault in Winword.exe Using /N Switch
win winword.exe <filename>To start more than one document, type:
win winword.exe <filename1> <filename2>where <filename> is the name of your file.
win winword.exe /m<macroname>where <macroname> is the name of your macro.
win winword.exe /aTo start Word and start the Quick Preview demo, type:
win winword.exe /mHelpQuickPreviewTo start Word without a "Tip of the Day," type:
win winword.exe /w
win winword.exe /nTo start Word with a specific document open, type the following:
win winword.exe <filename>where <filename> is the name of your file.
win winword.exe /m<macroname>where <macroname> is the name of your macro.
win winword /mhelptutorialgstartTo start Word with the Learning Word lessons running, type the following:
win winword /mhelptutoriallword
winword.exe /nTo start Word with a specific document open, type the following:
winword.exe <filename>where <filename> is the name of your file.
winword.exe /m<macroname>where <macroname> is the name of your macro.
winword.exe /tutorial-or-
winword.exe /t
Additional query words: 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
Keywords : kbdta
Version : WINDOWS:1.1,1.1a,2.0,2.0a,2.0a-CD,2.0b,2.0c,6.0,6.0a,6.0c,7.0,7.0a,97
Platform : WINDOWS
Issue type : kbhowto
Last Reviewed: July 13, 1999