If you’re a Microsoft PowerPoint user, there’s a good chance that you’ve used the command prompt to start the program. This article will show you how to do it in a more efficient way. To start PowerPoint from the command prompt, open an elevated Windows PowerShell window and type “powr-cmd” followed by the path to your PowerPoint installation. For example, if you installed PowerPoint on C:\Program Files (x86)\Microsoft Office\Office14\bin, type “powr-cmd C:\Program Files (x86)\Microsoft Office\Office14\bin” instead of “powr-cmd”. When PowerPoint starts up, it will ask for your password. If you don’t have one set up already, enter it now and click OK. Then click on the three lines in the top left corner of the main screen and type “pplayer”. The program will start up and show you a list of all its files and folders.
You can open PowerPoint from the Windows Command Prompt. Using this method, you can add additional parameters that let you do things like start PowerPoint in Safe Mode for troubleshooting, or start with a specific template.
How to Run PowerPoint with a Command
There are two ways to open PowerPoint from the Command Prompt—one of which you need to know to find out which directory the “powerpnt.exe” file is located in. You can do this manually by digging through File Explorer, or you can use Command Prompt to find it.
First, open a Command Prompt window. You can do this by typing “cmd” in the Windows Search bar (located on the taskbar next to the Windows icon). Press Enter or click the “Command Prompt” application in the search results.
When you first open the Command Prompt, you’ll start in your user account folder. From here, you can simply type this command and press Enter to launch PowerPoint:
You can also open PowerPoint from the directory that holds the powerpnt.exe file, but you need to know which directory it’s in.
To find the exact location of the powerpnt.exe file, we’ll need to go to the Program Files directory by using the cd command. This command changes your current directory in Command Prompt.
Type this command, then press Enter:
You’ll now be in the Program Files directory. The next step is to locate the directory where the powerpnt.exe file is located. Do so by typing the following command and pressing “Enter.”
Once you enter this command, the Command Prompt will locate the directory for you.
Now that you know which directory the powerpnt.exe file is located in, you can use the cd command to open the file path. In this example, you would need to enter the following command:
Now you should be in the directory where powerpnt.exe is located.
All that’s left to do now is to type powerpnt, then press Enter. PowerPoint will open in its usual way.
However, the whole point of using the command is that you can use the different switches and parameters it offers.
PowerPoint Command Line Switches and Parameters
Here’s a list of the command switches you can use when launching PowerPoint, courtesy of the official Microsoft Office support site. Add these to the end of the “powerpnt” command on the command line as shown in the examples below:
Using these commands, you can open PowerPoint in any specific way you choose.
“c:\Program Files\Microsoft Office\root\Office16\powerpnt.exe” /c FilePath/presentationname.pptx
If no template is specified, a blank template will be used.
Note that the empty quotes are necessary.
PowerPoint isn’t the only Office product you can open this way—you can also open Word from the Command Prompt!
RELATED: How (and Why) to Start Microsoft Word from the Command Prompt