Compare two pdf files using cmd
Copy link to clipboard
Copied
Hi,
I want to compare two pdf files using cmd command. Could you please let me know how I can do it using Adobe? or please suggest anyother tool for that.
Thanks in advance.
Thushar
Copy link to clipboard
Copied
Hi,
The right tool for that is the Compare Files tool.
https://helpx.adobe.com/acrobat/using/compare-documents.html#Continuous
It allows you to compare two PDFs I am not sure what you mean by using cmd command.
Did you mean using a script? that can be run from a command prompt terminal in Microsoft Windows ?
Copy link to clipboard
Copied
Hi ls_rbls,
Yes, I want to compare files using a script. That can run from a command prompt.
Thanks.
Copy link to clipboard
Copied
Yes like Test_Screen_Name said that is not possible from command line but you can manually create an action plugin with your script.
Have you been able to test scripts using the console in Adobe Acrobat?
You can do something like that too; Open the console and run your javascript.
Copy link to clipboard
Copied
There is no command line interface to do this in Acrobat.
Copy link to clipboard
Copied
There is a reference for the command line parameters that can be used to open a PDF. Unfortunately it doesn't include comparison.
You can find it here:
https://www.adobe.com/content/dam/acom/en/devnet/acrobat/pdfs/PDFOpenParameters.pdf
Use the Acrobat JavaScript Reference early and often

