Launch Microsoft PowerPoint from Command Prompt: complicated but useful
Normally, to open a program in Windows 10, most people will choose to double-click the program's icon on the desktop. The case of Microsoft PowerPoint is no exception.
However, it's also possible to launch PowerPoint from the Windows Command Prompt. This is more complicated, but allows you to add additional parameters to perform advanced actions that cannot be done when opening the application normally, such as starting PowerPoint in Safe. Mode to troubleshoot, or quickly start creating a slide show with a specific template.
How to open PowerPoint by command
There are two ways for you to open PowerPoint from the Command Prompt - one of which requires you to know exactly what folder the ' powerpnt.exe ' file is in. You can do this manually by navigating in File Explorer or using the Command Prompt itself to find it.
First, open a Command Prompt window. You can do this by typing ' cmd ' into the Windows search bar (located on the taskbar next to the Windows icon). Press Enter or click on the ' Command Prompt ' application in the search results.
When you open Command Prompt for the first time, you'll be in your user account folder. Here, simply type this command and press Enter to launch PowerPoint:
start powerpnt.exe
You can also open PowerPoint from the folder where the powerpnt.exe file is located, but with that said, you need to know which folder the file is in.
To find the exact location of the powerpnt.exe file, you need to go to the Program Files folder using the cd command. This command will change your current directory in Command Prompt.
Type this command, then press Enter :
cd"program files"
You should now be in the Program Files folder. The next step is to locate the directory that contains the powerpnt.exe file, by typing the following command and pressing ' Enter '.
dir powerpnt.exe /s
When you enter this command, Command Prompt will locate the folder for you.
Now that you know what folder the powerpnt.exe file is in, you can use the cd command to open the file path. In this example, you need to enter the following command:
cd Microsoft OfficerootOffice16
You will now be taken to the directory where the powerpnt.exe file is located.
All that's left to do is type ' powerpnt ', then press Enter. PowerPoint opens in the usual way.
With that said, the advantage of using commands is that you can use the various switches and parameters it provides.
Useful command parameters in PowerPoint
Below is a list of command switches you can use when launching PowerPoint, with assistance from the official Microsoft Office support website. Just add them to the end of the "powerpnt" command on the CMD, as shown in the examples below:
/ safe
Start PowerPoint in Safe Mode. PowerPoint will be launched without any add-ins, templates, and other customizations. This is especially helpful when troubleshooting PowerPoint problems.
/ B: Start PowerPoint with a blank slide.
/ C
Open the specified PowerPoint file. If no files are specified, PowerPoint will launch as usual. For example:
"c:Program FilesMicrosoft OfficerootOffice16powerpnt.exe" /c FilePath/tênfilepowerPoint .pptx
/ M MACRO
Run the macro in a specified slide show. For example:
"c:Program FilesMicrosoft OfficerootOffice16powerpnt.exe" /M howtogeek.pptm "TênMacro"
/ N
Launch PowerPoint and create a new presentation based on a specified template. For example:
"c:Program FilesMicrosoft OfficerootOffice16powerpnt.exe" /N "Pathtêntemplate.potx"
If no pattern is specified, a blank template is used.
/ O
Launch PowerPoint and specify a list of files to open. For example:
"c:Program FilesMicrosoft OfficerootOffice16powerpnt.exe" /O Tênflie1.pptx, Tênfile2.pptx
/ P
Print the specified slide show (using the default printer). When you use the switch, the Print dialog box displays in PowerPoint before printing. For example:
"c:Program FilesMicrosoft OfficerootOffice16powerpnt.exe" /P "tênfile.pptx"
/PT
Print specified presentation without opening PowerPoint. For example, Note that blank quotes are necessary.
"c:Program FilesMicrosoft OfficerootOffice16powerpnt.exe" /PT "tênmáyin" "" "" "tênfilecầnin.pptx"
/ RESTORE
Attempting to restore a previous PowerPoint session that was closed due to a sudden problem. For example:
"c:Program FilesMicrosoft OfficerootOffice16powerpnt.exe" /RESTORE
/S
Open a specified file in Slide Show view. For example:
"c:Program FilesMicrosoft OfficerootOffice16powerpnt.exe" /S "tênfile.pptx"
You should read it
- How to use the command history function in Command Prompt
- How to open Microsoft Excel from Command Prompt
- Add Command Prompt to Power User Menu on Windows 10
- How to open Command Prompt during Windows installation
- How to find and open files with Command Prompt
- How to open Command Prompt on Windows 10, 8, 7, Vista and XP
- How to Make Command Prompt Appear at School
- 6 Best Command Prompt Alternatives for Windows
- How to use Xcopy command in Command Prompt
- How to fix the error of Command Prompt opening automatically on Windows
- How to Open Command Prompt with a Keyboard Shortcut (Windows 8, 8.1, and 10)
- Instructions for using Command Prompt
Maybe you are interested
6 ways to fix the error 'PowerPoint found a problem with the content'
PowerPoint 2016: Working with lists in PowerPoint
Check Office, Word, Excel, Powerpoint version
PowerPoint 2016: Check spelling and grammar
When should you embed a video and when should you link to a video in PowerPoint?
How to present survey results in PowerPoint or Google Slides