Rob van der Woude's Scripting Pages

Help text for PowerPoint2Any.cs

(view help text of PowerPoint2Any.cs as plain text)

PowerPoint2Any,  Version 1.00
Open a presentation in Microsoft PowerPoint and save it in "any" (known) format

Usage:     POWERPOINT2ANY  "presentation"  [ "outfile" ]  [ options ]

Where:     "presentation"  PowerPoint presentation(s) to be converted
                           (wildcards allowed in file name, e.g. "name*.pptx")
           "outfile"       output file(s) to be created (wildcard "*" allowed
                           for file name, e.g. "*.odp" or "*.pdf")
Options:   /O              silently Overwrite existing output file(s)
                           (default: abort or skip if output file exists)
           /T              list accepted output file Types
           /T:type         set output file Type (required if "outfile" is not
                           specified; type may be number or string)

Notes: [1] This program requires a "regular" (MSI based) Microsoft PowerPoint
           (2007 or later) installation, it will fail on an MS Office
           "click-to-run" installation
       [2] For PowerPoint 2007, to save as PDF or XPS, this program requires
           the "Microsoft Save as PDF or XPS Add-in for 2007 Microsoft Office
           programs", available at:
           http://www.microsoft.com/en-us/download/details.aspx?id=7
       [3] If wildcards are used in the PowerPoint file names, and the output
           file path is not specified, /T:type must be used, and the input
           file names should not contain dots.
       [4] If wildcards are used in the PowerPoint file names, and the output
           file path is specified, the output file name must be "*".
       [5] If wildcards are used in the PowerPoint file names, and the /O
           switch is not used, the program will display an error message in
           case an output file already exists, but it will then continue to
           convert the next file instead of aborting.
       [6] If PowerPoint was already active when this program is started,
           any other opened presentation(s) will be left alone, and only
           the presentation(s) opened by this program will be closed.

Examples:  POWERPOINT2ANY "D:\folder\myfile.ppt" *.pdf
           will save to "D:\folder\myfile.pdf"

           POWERPOINT2ANY "D:\folder\myfile.pptx" "D:\otherfolder\*.odp"
           will save to "D:\otherfolder\myfile.odp"

           POWERPOINT2ANY "D:\folder\myfile.pptx" "D:\elsewhere\newfile.xps"
           will save to "D:\elsewhere\newfile.xps"

           POWERPOINT2ANY "D:\folder\name*.pptx" *.html
           will save all matching files as HTML to "D:\folder\"
           recognized extensions: htm(l), odp, pdf, pps(x), ppt(x), xps

           POWERPOINT2ANY "D:\folder\*.pptx" /T:12
           like previous example, but more file types available

           POWERPOINT2ANY /T
           will list all accepted file types

Written by Rob van der Woude
http://www.robvanderwoude.com

page last uploaded: 2022-10-05; loaded in 0.0181 seconds