Command Line Samples

PDF Convert Command Line samples

Command Line Samples

Command line interface

Command Prompt is a feature of Windows that provides an entry point for typing MS DOS (Microsoft Disk Operating System) commands and other computer commands. The most important thing to know is that by typing commands, you can perform tasks on your computer without using the Windows graphical interface. Command Prompt is typically only used by advanced users.

After installing PDFConvert software, click Start - Programs - PDFConvert - Command Line to show command line functions.

Sample codes:

1. Convert image files "c:\test\1.jpg" and "c:\test\2.png" to PDF file "c:\pdf\1.pdf".

pdfconvert.exe /cs 1000 /i "c:\test\1.jpg";"c:\test\2.png" /o "c:\pdf"

2. Convert Word file "c:\word\1.docx" to PDF file "c:\pdf\1.pdf".

pdfconvert.exe /cs 3000 /i "c:\word\sample.docx" /o "c:\pdf"

3. Convert PDF file "c:\pdf\1.pdf" to image file "c:\image\1.png".

pdfconvert.exe /cs 8000 /i "c:\pdf\1.pdf" /o "c:\image" /pio 2

4. Convert PDF file "c:\pdf\1.pdf" to Word file "c:\word\1.docx".

pdfconvert.exe /cs 10000 /i "c:\pdf\1.pdf" /o "c:\word" /pwo 2

5. Convert PDF file "c:\pdf\1.pdf" to text file "c:\txt\1.txt".

pdfconvert.exe /cs 9000 /i "c:\pdf\1.pdf" /o "c:\txt" /pto 0

6. Add picutre "c:\image\1.jpg" to local PDF file "c:\pdf\1.pdf" as image watermark.

pdfconvert.exe /i "c:\pdf\1.pdf" /o "c:\pdf2" /wi "c:\image\1.jpg"

7. Add user password "abcdef", owner password "123456" and restrictions to local PDF file "c:\pdf\1.pdf", and save file to "c:\pdf2\1.pdf".

pdfconvert.exe /i "c:\pdf\1.pdf" /o "c:\pdf2" /op abcdef /ep 123456 /edt 0 /ept 0