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.

Launch Microsoft PowerPoint from Command Prompt: complicated but useful Picture 1

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

Launch Microsoft PowerPoint from Command Prompt: complicated but useful Picture 2

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"

Launch Microsoft PowerPoint from Command Prompt: complicated but useful Picture 3

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.

Launch Microsoft PowerPoint from Command Prompt: complicated but useful Picture 4

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.

Launch Microsoft PowerPoint from Command Prompt: complicated but useful Picture 5

All that's left to do is type ' powerpnt ', then press Enter. PowerPoint opens in the usual way.

Launch Microsoft PowerPoint from Command Prompt: complicated but useful Picture 6

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"
4.2 ★ | 5 Vote

May be interested

  • How to use Xcopy command in Command PromptHow to use Xcopy command in Command Prompt
    knowing how to use xcopy command in command prompt, you will easily use commands in cmd professionally. in particular, the xcopy command is extremely useful for those who copy and copy data on the computer.
  • 6 Cool Tricks You Can Do in Windows Command Prompt6 Cool Tricks You Can Do in Windows Command Prompt
    command prompt has a ton of capabilities, and many people doubt they know what a few lines of code can do. next time you're bored with your pc, try these cool command prompt tricks for yourself.
  • Instructions for using Command PromptInstructions for using Command Prompt
    deep in windows is a command-line world that is obscure. in this article, we will show you how to solve errors and make your computer more secure.
  • All Frequency Restart, Shutdown, Remote Off ... with Command PromptAll Frequency Restart, Shutdown, Remote Off ... with Command Prompt
    often users often turn off the computer, restart the computer ... using the shutdown options on the start menu. however, few of us know that using command prompt can also shutdown, restart the computer, schedule a computer shutdown or enable hibernation, ... and even if you have admin rights you can turn off other computers remotely.
  • Open folder in Command Prompt (CMD)Open folder in Command Prompt (CMD)
    do you need to access a certain folder from the command prompt or windows command prompt? although it looks classic, this program is really easy to use if you know some basic commands. today's tipsmake will show you how to use the 'cd' command to open a folder in windows command prompt. besides, you will also learn great tips to immediately open the command prompt in any folder on windows file explorer.
  • Windows promptWindows prompt
    the prompt command changes the command prompt cmd.exe file.
  • How to Customize the Font in Windows Command PromptHow to Customize the Font in Windows Command Prompt
    many people work regularly with the windows command prompt. one of the main problems users encounter, however, is the difficulty of achieving the same look every time one works with the command prompt interface. this article is intended to...
  • How to Unblock Command Prompt AnywhereHow to Unblock Command Prompt Anywhere
    have you ever been at school and discovered that the it administrators blocked the command prompt? or did you try to do a command and it says 'access is denied'? this article will explain how to bypass these restrictions using simple...
  • How to Create a Custom Windows Command PromptHow to Create a Custom Windows Command Prompt
    the windows command prompt (located at c:windowssystem32cmd.exe) is a useful tool to perform various administrative tasks. the prompt is a string of characters (special and non special) that are displayed whenever the command prompt is...
  • How to Change Directory in Command PromptHow to Change Directory in Command Prompt
    this article shows you how to change folders in the command prompt program on a windows computer. to change commands in command prompt, you must use an administrator account.