How to convert Word to PDF and set PDF title via command line?

When you open the Properties dialog box of a PDF file, you can find the general and security information about this PDF file. The Properties dialog box is just like a tab or an ID card of a PDF file, containing all the necessary and general information to help readers to quickly find out or sort the PDF files. When people create a PDF file, they will set PDF title and this title will be displayed in the Properties dialog box. This article aims to show you how to convert Word to PDF and set PDF title via command line.

As long as you have Office 2010, and Adobe Acrobat on the computer, you don’t need to install any document converter, yet able to convert Word to PDF and set PDF title. However, if you want to do batch conversion, you‘d better downloads a professional document converter. This article recommends VeryPDF Document Converter, which is also named VeryPDF docPrint Pro (download). You can use the command line version of VeryPDF Document Converter to help you solve your problem.

After you install VeryPDF Document Converter on the computer, please take two steps to convert Word to PDF and set PDF title via command line:

Step1 Open the command prompt window

Supposing you are in Windows 7, you can open the command prompt window as follows: Click Start to open the Start menu. > Click All Programs. > Click Accessories. >Click Command Prompt.

Step 2 type a command line

The basic usage of VeryPDF Document Converter is doc2pdf [options] <-i input File> [-o Output file]. The option you need to use is -t <title>. For example, if you want to convert all the Word files in the format DOC in the root folder on disk C, and export them to disk D, you can type a command line as the following one: “c:\docPrint Pro v5.0\doc2pdf.exe” –t “word to pdf” -i c:\*.doc -o d:\*.pdf.

The command line is composed of four parts. The first part, “c:\docPrint Pro v5.0\doc2pdf.exe” is the directory of the executable file. The second part –t “word to pdfis the option which set to be the PDF title. The third part is -i c:\*.doc which stands for all the DOC documents on disk D, and -o d:\*.pdf represents all output files. After you type a command line, please press Enter.

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *

Verify Code   If you cannot see the CheckCode image,please refresh the page again!