PDF to Excel

PDF to Excel OCR

PDF to Excel Ent.

PDF to Excel CLI

Update

PDF2XL

PDF2XL OCR

PDF2XL Ent.

PDF2XL CLI

Checkout

Upgrade

Corporate

Update

Contact us

Press Room

Privacy policy

Legal notice

PDF2XL CLI Online Help

Table of Contents Command Line Interface Examples

Examples

The following are a few examples of the usage of the PDF2XL CLI Command Line Interface.
Note that you must run those commands from the installation folder of PDF2XL, or otherwise provide a full path to the application:

PDF2XL -input="c:\my documents\my pdf.pdf" -layout="c:\layouts\a_""quoted""_layout"

Will open the indicated file automatically, using the layout found in the a_"quoted"_layout file.

PDF2XL -managed -input=c:\sample.pdf -format=excelfile -output="d:\output files\sample.xls" -autoclose -autoconvertwarn -status=off

Will start PDF2XL CLI in managed mode, displaying the indicated file, will convert to the indicated file, will be closed when the file is converted and will convert the file upon closing the application, warning the user if there's a problem to convert (for example, no layout defined), and will initially hide the status bar

PDF2XL -noui -input=c:\input.pdf -format=clipboard -range=1-3,5-8 -layout=c:\def_layout.layout

Will run a clipboard conversion on the c:\input.pdf file using the layout found at c:\def_layout.layout, converting the 1st-3rd and 5th-8th pages

for /F "delims=." %%g in ('dir /b "C:\InputFolder"\*.pdf') do PDF2XL -input="C:\InputFolder\%%g.pdf"
-layout="C:\LayoutsFolder\TheLayout.layout" -format=excelfile -range=all
-output="C:\OutputFolder\%%g.xls" -noui -autoopen=off

Will convert all the PDF files inside C:\InputFolder into similarly named Excel files and put them in C:\OutputFolder.
Note that although we have broken the command into multiple lines for readability, you should input it as a single line!

PDF2XL -tutorial=off -preview=on -status=off -format=clipboardword

Will run the application with the tutorial and status bar initially hidden, with the preview on, and with the conversion format set to Clipboard as Word Table


Additional Site Links:

Important PDF and Excel sites:

2009 Cogniview Ltd. All rights reserved