Automatic Batch Rebuild of Adobe Acrobat Index Files

If you create an index of Adobe Acrobat files for fast searching, you may want to create a scheduled task that updates the index every night.
Adobe didn't have any pages that told me what should be in the BPDX file, but after some serious googling I was able to find a sample.

Here is a sample:

#--------------BatchUpdateCertIndex.bpdx------
c:\Document Archives\My Index.pdx /rebuild
#-----------------------------------------

When I call the BPDX file from Task Scheduler I use this command line:
"C:\Program Files (x86)\Adobe\Acrobat 10.0\Acrobat\Acrobat.exe" "c:\scripts\BatchUpdate.bpdx"

Acrobat will not close on it's own, but since I run this every night on a server, I just leave it running and it fires off again the next day in the same dialog box without opening new sessions.



This is the Help (or lack of it) from the Adobe Website on how to use the BPDX:

Use the Catalog feature and a catalog batch PDX file (.bpdx) to schedule when and how often to automatically build, rebuild, update, and purge an index. A BPDX file is a text file that contains a list of platform-dependent catalog index file paths and flags. You use a scheduling application, such as Windows Scheduler, to display the BPDX file in Acrobat. Acrobat then re-creates the index according to the flags in the BPDX file.

For more information on scheduling an indexing update, search for BPDX at www.adobe.com/support.

Note: To use BPDX files, in the Preferences dialog box under Catalog, select Allow Catalog Batch Files (.bpdx) To Be Run.

Comments

Popular Posts