Like most apps, you can start Word from the Command prompt, but Word also supports several optional switches for controlling the startup process.
Whether you type the command at the prompt, use it to create Using the Command Prompt to Start Word
Before we can open Word using the Command Prompt, we need to figure out which directory the winword.exe file is located. You can do this manually, or you can just have the command prompt to find it for you. [Cmd] and selecting the "Command Prompt" application.
When you open the Command Prompt, you'll be in the top tier directory-your user account folder. We need to dig deeper into the Program Files directory. Enter:
cd "program files (x86)"
You'll now be in the Program Files directory. The next step is to locate the directory where the winword.exe file is located.
You winword.exe / s
Once you enter this command, the Command Prompt wants to locate the directory for you.
Now that you know the directory where the winword.exe file is located, you can use the command to open the file path. In this example, you would need to enter the following command :
cd Microsoft Office root Office16
Now you should be in the directory where winword.exe is located.
Now winword and then press "Enter," and Word will open its usual way. 19659003]
However, the whole point of using the command is that you can use the different switches and paramet ers it offers.
Common Word Command Line Switches and Parameters
Switch and Parameters
You can also launch Word in Safe Mode by launching the Ctrl key while launching Word from the Start menu, creating a shortcut with this parameter makes it much easier.
Example: Assume we wanted to open a document stored on the C drive called example.docx, we'd type the following command:
Example: To start Word and open the existing file example.docx, store on the C drive, enter the following:
/ tc: example .docx
To open multiple files, example.docx and example2.docx, located in the C drive at once, enter the following:
/ tc : example.docx c: example2.docx
Example: To start Word and create a new document based on file example.docx, stored on the desktop, enter the following:
/ f "c: Documents and Settings All Users Desktop example.docx
Example: To start Word and open a copy of a file example.docx, store in a document library at the URL http: //sisite/documents, enter the following: 
/ h http: //MySite/Documents/example.docx
Note: If the document is checked out to you, the / h switch has no effect. Word opens the files so that you can edit it.
Example: To start and apply the XSLT MyTransform, store on the C drive, enter the following:
/pc:MyTransform.xsl c: Data.sml
Example: To start Word and load the add-in Sales.dll, store on the drive, enter the following:
/ ic: Sales.dll
Note: Do not include a space between the switch and the add-in name.
Example: To start Word and then run the Salelead macro,
Note: Do not include space between the switch and the macro name.
That's all there is to it!
RELATED: How to Run Command Prompt Commands from a Windows Shortcut