Post reply

Message icon:


shortcuts: hit alt+s to submit/post or alt+p to preview

Topic Summary

Posted by: RTT
« on: January 24, 2012, 03:23:25 PM »

You just need to duplicate the apostrophe.
pdfshelltools.exe SetMetadata "Metadata='Title=This isn''t an example'" somefile.pdf
Also, the single quotation marks must inclose the field name too, not just the field metadata.
Posted by: bernd.fuhrmann
« on: January 24, 2012, 01:23:57 PM »

how can I using the command line of PDFShellTools set the title of a PDF (metadata) to [This isn't an example]?
it should look something like this:
pdfshelltools.exe SetMetadata "Metadata=Title='This isn't an example'" somefile.pdf

or in other words:
(How) can I escape the ' character?

Thanks in advance!