Command-Line Switches for Controlling Word Startup


  • Reviewing what command-line switches do
  • Learning the available command-line switches

You learned in Chapter 1, “Taking Your First Steps with Word,” that one option you have for starting Word 2013 is to create a shortcut for it on the Windows Desktop, as detailed in the section “Creating a desktop shortcut and shortcut key.” As shown in Figure 1.2, you can work with the entry in the Target text box of the Properties dialog box for the shortcut to control exactly how Word starts up or to perform certain tasks. This appendix details the command-line switches you can use when starting Word.


If you start Word using the Command or Run dialog box in either Windows 7 or 8, you also can use a command-line switch there.

Command-Line Switches

When you are using a command-line switch, note that they each require a space after the trailing quote that follows the file specification for the Word executable file, and before the backslash (\), for example, “C:\Program Files (x86)\Microsoft Office\Office15\WINWORD.EXE”[space]/a. There is no space, however, between the / and the character that follows it. Note also that when a file path specification or filename itself contains a space, the entire name must be enclosed in quotes.

In the Target text box of the shortcut's Properties dialog box, the entire startup file and path name appears enclosed in quotes. You should add the space and the startup switch outside ...

Get Word 2013 Bible now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.