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 Commands

Commands

Each command will appear after a space, and if it has a value, it will be separated from it using an equal sign. If the value contains spaces, it MUST start and end with quotes, which will be removed from the value itself. If a quoted value has a quote inside, it needs to be doubled. See the CLI Examples for samples on the usage of the commands and quotes.

PDF2XL CLI will return an error code if there was a problem with the command line.

CommandValueDescriptionNotes
-input<filename>Loads the fileCan appear more then once, unless the Silent Mode or Managed Mode commands are used, in which case it must appear exactly once
-layout<filename>Loads a layout from the fileWill be used on all the input flag files; overrides the layout saved for the input file (if any)
-formatexcel | excelfile | word | wordfile | powerpoint | powerpointfile | calcfile | csvfile | clipboard | excelclipboard | wordclipboardSets the current conversion formatOverrides the saved setting
-output<filename>Sets the output filename for Excel, Word or CSV file conversionsOnly valid when format appears and is set to excelfile, wordfile or csvfile
-rangeAll | current | ask | <num>[-<num>][,<num>[-<num>]]...Sets the conversion page rangeIsn't valid if the document is a Scanned PDF Document
-noui Runs the application in Silent ModeCommand line has to include input; will fail if no layout is defined for the file, or if converting to a file without an output file, or if the page range is set to current.
-autoclose Closes the file when it is converted; closes the application when the last file is convertedImplied when Silent Mode command is used
-run Converts the opened document immediatelyCommand line must include input; will fail if no layout is defined for the file, or if converting to a file without an output file, or if the page range is set to current
-managed Runs the application in Managed ModeCommand line must include the input flag; will fail if format command is set to excel file and no output is defined; cannot be used in conjunction with Silent Mode
-autoconvert Converts the file when the document is closedCannot be used with autoconvertwarn command or when running in Silent Mode
-autoconvertwarn Same as -autoconvert, but warns the user before closing if no conversion is possible (no layout, for example)Cannot be used with autoconvert or when running in Silent Mode
-tutorialon | offShows or hides the tutorialOverrides the saved setting
-previewon | offShows or hides the Conversion Preview areaOverrides the saved setting
-statuson | offShows or hides the status barOverrides the saved setting
-password<password>Password to open password-protected documents withValid only in combination with Silent Mode command
-autoopenon | offIf set to on, will open the Excel or Word file when the conversion is finished. If set to off, will not display the file. If not specified, PDF2XL CLI will use the Open File after Conversion setting in the Conversion Settings pageValid only in combination with Silent Mode command


Additional Site Links:

Important PDF and Excel sites:

2009 Cogniview Ltd. All rights reserved