Skip to main content
Participant
March 23, 2016
Question

How to get original file name in batch processing when HTML files are being processed?

  • March 23, 2016
  • 1 reply
  • 328 views

I'm working on a batch process javascript that will be running on HTML files to save them as pdfs, however it seems that when acrobat opens the HTML files since it has to render them it creates a temporary file. When I use this.path to get the file name and location it returns the temporary file path instead of the original. Is there a way to get the original path?

This topic has been closed for replies.

1 reply

try67
Community Expert
Community Expert
March 23, 2016

Unless that file-name is saved somewhere in the PDF's metadata (or

somewhere in the contents of the file itself), you have no access to it.