0

Would be possible to convert a list of MS Word files from a Windows folder into PDF?
A few weeks ago I wrote an SAP program which downloads mass on MS Word files to presentation server (local user PC). Now, these Word files have to be converted into PDF files in one go. User can do this from Windors Explorer. He opens the folder, selects the Word files and chooses in context menu of the Windows Explorer the PDF24 item. Because the PDF24 is installed on his PC.  After that, the PDF24 pops up and user can click "Convert to PDF". And PDF24 converts all selectes file into PDF in one go. Excellen job!!
Now, I'd like to automatize that process what user does.
From SAP I have posibility to execute Windows programs on user's desktop (user's PC). So, my ideea is to execute pdf24.exe on Windows (or from Windows command line) and pass input parameters: (1) source folder; (2) target folder; (3) source file type; (4) target file type(obviously "PDF"); (5) a list of source file name. And probably some further parameters which would be needed.
The pdf24.exe should convert files from my list in one go and give appropriate return code/message.
One other option would be to do a single call of pdf24.exe for each single file. OK, such single call would satisfy my request too.
Hopen you get me right and give an anser to my question.
My best Regards
Astago

Stefan Ziegler Answered question 2018-08-20