0
How to get original file name in batch processing when HTML files are being processed?
New Here
,
/t5/acrobat-sdk-discussions/how-to-get-original-file-name-in-batch-processing-when-html-files-are-being-processed/td-p/8199275
Mar 23, 2016
Mar 23, 2016
Copy link to clipboard
Copied
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?
TOPICS
Acrobat SDK and JavaScript
,
Windows
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Community Expert
,
LATEST
/t5/acrobat-sdk-discussions/how-to-get-original-file-name-in-batch-processing-when-html-files-are-being-processed/m-p/8199276#M67280
Mar 23, 2016
Mar 23, 2016
Copy link to clipboard
Copied
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.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

