Microsoft KB Archive/291872

= How to use command-line switches for PowerPoint 2002 and PowerPoint 2003 =

Article ID: 291872

Article Last Modified on 9/3/2004

-

APPLIES TO


 * Microsoft Office PowerPoint 2003
 * Microsoft PowerPoint 2002 Standard Edition

-



This article was previously published under Q291872



For a Microsoft PowerPoint 2000 version of this article, see 254011.



SUMMARY
When you run Microsoft PowerPoint from the Start menu or a from a shortcut, you can use command-line switches to modify the startup process. For example, you can open a particular presentation, print a presentation, or run a slide show automatically.



MORE INFORMATION
Microsoft PowerPoint recognizes the following command-line switches:

Syntax: &quot; \Program Files\Microsoft Office\Office\Powerpnt.exe&quot; [/s] [/p] &quot; .ppt&quot;

-or-

&quot; \Program Files\Microsoft Office\Office\Powerpnt.exe&quot; /n &quot; .pot&quot;
 * : This is the drive where you installed Microsoft Office/PowerPoint.
 * [/s] (optional): Open the presentation directly into a slide show window.
 * [/p] (optional): Print the presentation by using the default settings.
 * .ppt: The presentation that you want to open or print.
 * /n &quot; .pot&quot;: Create a new presentation based on the template file that you specified, .pot.
 * /c: Starts a new instance of PowerPoint with no presentation open.

The two switches /s and /p are optional. Use them only to either open a presentation directly into a slide show, or to print the presentation. For example, you can do the following:  On the Start menu, click Run. In the Run dialog box, type the following:

&quot;C:\Program Files\Microsoft Office\Office\Powerpnt.exe&quot; /s &quot;C:\MyPres\Presentation1.ppt&quot;

 Click OK.

PowerPoint opens Presentation1.ppt directly into a slide show.

Additional query words: autorun auto-run automate modify modifiers command line option options inf PPT ppt2002 ppt2003

Keywords: kbhowto kbstartprogram KB291872

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.