<Path to Word>\winword.exe [/a] [/c] [/ltemplate name] [/n] [/m[macroname]] [/t] [/w] [/x] [/q] [/regserver] [/unregserver] [filename] [filename]
Switch Meaning
Blank Starts a new Word window in an existing instance of Word.
/a Starts Word without a template (including startup addins) Word 6 only
Starts Word without a template (including startup addins) or options stored inthe registry, Word 95, 97, & 2000. only
/c Starts Word and runs Netmeeting. Word 2000 only.
/l Load a specific addin Word 95, 97, & 2000 only
/n No new default document
/m Runs a macro [/mmacroname] or prevent autoexec from running [/m] Word 6, 95, 97, & 2000.
Run a macro [/mmacroname] Word 1 & 2 only
Cannot be used with the /t switch
/t Bases a new document on the specified document Word 95, 97, & 2000.
Starts the Tutorial Word 1 only
/w Without displaying Tip Of The Day Word 6 only
Starts a new instance of Word. Word 2000 only.
/x Starts a new instance of Word that only accepts one DDE conversation. Used by the Windows shell for printing. Word 97 & 2000.
/q No splash screen. Word 2000 SR1
/regserver or /r Registers Word in the registry. Word 95, 97, & 2000.
/unregserver or /u Unregisters Word in the registry. Word 95, 97, & 2000.
Filename Opens a file
Filename Filename Opens multiple files Word 6, 95, 97, & 2000.
The office Startup Application is a small companion program with the following command line switches. It also provides services for starting Office Help and in 2000 performs a test to see if Auto Repair should run.
Word 97
<Path to Office>\osa.exe [/b] [/f] [/n]
Word 2000
<Path to Office>\osa9.exe [/b] [/f] [/l] [/n]
Switch Meaning
/b Initilises OLE and some fonts so OLE programs will start faster. It's tuned for office programs and basically puts the OLE libraries into the disk cache.
/f Displays the Open Office Document dialog box.
/l Checks to see if the Office Toolbar should be loaded at startup, and if so start the Office Toolbar.
/n Displays the New Office Document dialog box.
Examples
C:\Program Files\Microsoft Office\Office\winword.exe Filename
C:\Program Files\Microsoft Office\Office\winword.exe Filename Filename
C:\Program Files\Microsoft Office\Office\winword.exe /a
C:\Program Files\Microsoft Office\Office\winword.exe /n
C:\Program Files\Microsoft Office\Office\winword.exe /m
C:\Program Files\Microsoft Office\Office\winword.exe Filename /mmacroname
C:\Program Files\Microsoft Office\Office\winword.exe /tDocumentPathAndName
C:\Program Files\Microsoft Office\Office\winword.exe /t
C:\Program Files\Microsoft Office\Office\winword.exe /lAddinPathAndName
C:\Program Files\Microsoft Office\Office\winword.exe Filename /w