These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

How to run an Acrobat Batch File from .NET

regalona
Registered: Jul 3 2008
Posts: 2

Hi;

I created a batch file in Acrobat 8.0 professional. I would like to be able to execute that batch file programmatically from vb.net. Is that possible? I can execute menu items from .net but have no idea how to execute a batch file. Any help would be greatly appreciated.

Thanks,

regalona.

My Product Information:
Acrobat Pro 8.1.2, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
Not possible to do directly. Adobe would very much like you to have to use the Acrobat UI to start batch processes. But there is a way. You can write a plug-in to activate a batch process. And a plug-in can be activated from a menu item. But this is the long way around.

Like the Wizard said to Dorthy, "You've had the means to get back to Kanasas all along". Every thing you need to write your own batch process is already in vb.net. You can get a listing of all the PDF files in a folder, you can open them in Acrobat, perform any necessary operations, and then save them to any name and any location.

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script