Skip to main content
April 11, 2016
Question

How to convert text file to pdf using command line on the fly

  • April 11, 2016
  • 2 replies
  • 2220 views

Hi,

I am looking to use Adobe to convert a simple text file to a pdf using the DOS command line execution so it can be run on the fly when needed.

Thanks

This topic has been closed for replies.

2 replies

try67
Community Expert
Community Expert
April 11, 2016

Actually, it is possible, but it might not work as you expect.

You just need to provide the path to the txt file as a parameter to Acrobat.exe and it will launch Acrobat and convert that file to PDF.

However, it will not be saved automatically and the application, with the new (temporary) file in it, will remain open.

Acrobat is not really suited for command-line usage, if that's what you're trying to achieve.

Bernd Alheit
Community Expert
Community Expert
April 11, 2016

Not possible.