Jump to content

List of command line parameters and syntax


Rao Sankarmanchi
 Share

Recommended Posts

Rao Sankarmanchi

Cannot find documentation of command line parameters. Merging files opens nitro pro and aks for merged file name. Anyway to merge files and auto create final pdf without opening Nitro Pro

 

Link to comment
Share on other sites

MartinC69

The Command Line for Merge doesn't appear to have any logic behind the order that they are being merged and the file you are merging into has to already exist as a file.

Is there a way to force a new file and merge into that, in the order that they are passed 

For example:

NitroPDF.exe /m NewFile.pdf 1stFile.pdf 2ndFile.pdf 3rdFile.pdf

Where

  • NewFile.pdf is a new file which the following files will be merged into
  • 1stFile.pdf is the 1st file which should be merged
  • 2ndFile.pdf is the 2nd file which should be merged
  • 3rdfile.pdf is the 3rd file which whould be merged

Executing the command line will error with a corrupt file if NewFile.pdf does not exist.

If the file does exist the Combine screen is displayed and the files are displayed, but not in the order that they are passed in the command line.

Is there a way to run NitroPDF from the command line so that it is silent, no application is displayed, it just does what is passed to it and then exits? 

Link to comment
Share on other sites

Rao Sankarmanchi

Thanks for the command line link @Reymund G.

As a follow up,  have the exact same question as @MartinC69. How can we do the combining that it is silent, no application is displayed, it just does what is passed to it and then exits?

 

Link to comment
Share on other sites

  • Official Nitronaut
Reymund G.
Posted (edited)

Hi @MartinC69and @Rao Sankarmanchi

 

You may try adding the /INS=after and see if this works for you. Here are the steps:

Note: Please make sure to back-up the PDF files before applying this command line

1. Open Nitro PDF Pro with no document. (leave this open as you go with executing the command lines )
2. Open Windows Command Prompt in administrator mode. 
3. Run the command line below:

C:\Program Files\Nitro\Pro\13>NitroPDF.exe /INS=after <file path to Master pdf> <file path to Secondary pdf>

Example: 
C:\Program Files\Nitro\Pro\13>NitroPDF.exe /INS=after C:\Users\royong\Downloads\TestDocument\SkyJanBill.pdf C:\Users\royong\Downloads\TestDocument\TestDocument.pdf

The SkyJanBill.pdf is the main PDF.  The TestDocument.pdf will be combined and added at the end of the main PDF. 

4. Click Enter on your keyboard and you will be prompted with a message that the pages of the secondary pdf is successfully inserted into the main/master pdf. 

I have made a screen recording so you could see the workflow:

Kind regards,

Edited by Reymund G.
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.