This article is a step-by-step instruction on converting PPT to PNG by command line. Command line versions of document converters are always used to convert documents in batches for helping users save time. The tool we are going to use is named VeryPDF docPrint Pro Command Line, one of the four versions provided by an all-to-all document converter VeryPDF Document Converter (docPrint Pro).
VeryPDF Document Converter is based on Windows. It supports all types of PowerPoint file formats including PPTX, POT, PPTM, PPT, etc. Before start, please download Document Converter and install the software on your computer. If you open the installation folder, you will find an executable file named doc2pdf.exe there. And this file is docPrint Pro Command Line. Please follow the steps below, and try to use docPrint Pro Command Line to solve your problem.
Firstly, please open a command line interface. If you are under Windows XP, for instance, you can do as follows to run the Windows CMD program: click the Start button > click Run on the Start menu > type cmd in the Run dialog box > press Enter on the keyboard. Then the command line interface will appear on the desktop.
Secondly, you need to type a command line according to the basic usage of docPrint Pro Command Line.
doc2pdf [options] <-i Document Files> [-o Output]
Here are some command lines that can convert PPT to PNG:
- "C:\docPrint Pro v5.0\doc2pdf.exe" -i D:\in.ppt -o E:\ex.png
- "C:\docPrint Pro v5.0\doc2pdf.exe" -i C:\*.ppt -o E:\*.png
- "C:\docPrint Pro v5.0\doc2pdf.exe" -i C:\i*.ppt -o E:\e*.png
"C:\docPrint Pro v5.0\doc2pdf.exe" is the path of the executable file. As we have mentioned, this executable is docPrint Pro Command Line. The input path like D:\in.ppt in the first example must follow -i. And the output path like E:\ex.png in the first example must follow –o. The first example can convert a single PPT to PNG images. The second and third examples can convert multiple PPT to PNG images. In the second example, the input path C:\*.ppt represents all the PPT files in the root folder on disk C. In the third example, the input path C:\i*.ppt represents all the PPT files whose names begin with the letter i in the root folder on disk C. After you type a command line, please press Enter. The computer will begin the process immediately.
I hope this article is helpful. Have docPrint Pro Command Line help you solve your problem? Do you want to get more information about the other features of VeryPDF Document Converter? If so, please visit the following website: http://verypdf.com/artprint/index.html