# Examples

The following are a few examples of the usage of the PDF2XL 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:

To open one or more files using PDF2XL's command line, just specify the filename(s):

PDF2XL c:\input.pdf

This will open a single file.

PDF2XL "c:\some documents\data.pdf" "c:\some documents\more data.pdf"

This will open the two specified files. Note that if the file path contains a space, you will need to use quotes around the path.

You can also use the input command to open the file. The following command is similar to the previous example:

PDF2XL -input="c:\some documents\data.pdf" -input="c:\some documents\more data.pdf"

Another option is to change the initial structure type of a document (providing you haven't opened it yet) by setting it in the command line:

PDF2XL -template="repeat" -pagerepeat=3 -firstpagediff -input="c:\some documents\new data.pdf"