Microsoft Word Command Line switches
To open a Word document using the switches in Windows 10/8/7, type winword.exe /x. Here “/x” is the switch. To modify how Microsoft Office Word starts on a one-time basis, you can add switches to the Microsoft Windows Run command (Start menu). The following is the list of switches for Microsoft Word: Example To start Word with a document based on a template called Myfax.dotx, stored on the C drive, type the following at the command prompt: /tc:\Myfax.dotx Example To start Word and open the template file Myfax.dotx, stored on the C drive, type the following at the command prompt: /t c:\Myfax.dotx Example To start Word and open multiple files, such as MyFile.docx and MyFile2.docx, each stored on the C drive, type the following at the command prompt: /t c:\MyFile.docx c:\MyFile2.docx Example To start Word and create a new document based on file MyFile.docx, stored on the desktop, type the following at the command prompt: /f “c:\Documents and Settings\All Users\Desktop\MyFile.docx” Example To start Word and open a copy of file MyFile.docx, stored in a document library at the URL http://MySite/Documents, type the following at the command prompt: /h http://MySite/Documents/MyFile.docx Example To start Word and apply the XSLT MyTransform, stored on the C drive, to the XML file Data.xml, also stored on the C drive, type the following at the command prompt: /pc:\MyTransform.xsl c:\Data.xml Example To start Word and then load the add-in Sales.dll, stored on the C drive, type the following at the command prompt: /lc:\Sales.dll Example To start Word and then run the macro Salelead, type the following at the command prompt: /mSalelead Because macros can contain viruses, be careful about running them. Take the following precautions: run up-to-date antivirus software on your computer; set your macro security level to high; clear the Trust all installed add-ins and templates check box; use digital signatures; maintain a list of trusted publishers.
If you plan to use a modified startup method frequently, you can create a shortcut on the Windows desktop, using these switches. You can get the command line switches for Word, Excel, PowerPoint, Outlook and Access here at KB210565.