|
Command-Line option
|
Description
|
| "<FileName>" |
Full path to the
file that is understood by PowerPoint.
Example: PowerPnt.exe "C:\Presentations\SevenWonders.ppt" |
|
/n "<FileName>" |
Create a new file with the specified file name at the specified path.
Example: PowerPnt.exe /n "C:\Presentations\Q4Sales.ppt" |
|
/s "<FileName>" |
Start the slide show with the specified presentation file.
Example: PowerPnt.exe /s "C:\Presentations\SalesProjections.ppt" |
| /p
"<FileName>" |
Print the
presentation to the default printer. This would bring up the print dialog.
Example: PowerPnt.exe /p "C:\Presentations\SalesProjections.ppt" |
| /pt <PrinterName>
"" "" "<FileName>" |
Print the
presentation to the specified printer. This will not bring up the print
dialog. The PrinterName is the name of the printer as it appears in the
Windows' Start | Settings | Printers.
Example: PowerPnt.exe /pt "HP LaserJet" ""
"" "C:\Presentations\SevenWonders.ppt" |
| /m "<FileName>" <MacroName> |
Open the
presentation file specified in FileName and run the macro specified in
MacroName in it.
Example: PowerPnt.exe /m "C:\Presentations\SevenWonders.ppt"
HelloWorld |