Hi, I’m trying to convert a docx to pdf using the command line on windows 7 but it will fail silently.
I see that it creates a temporary file called .~lock.a.pdf# in the outpour dir. (the original file is called a.docx)
I see the soffice.exe and soffice.bin processes in the task manager for a few seconds then shuts down. The temporary remains but no PDF or error or anything.
Im using libreoffice 4 from windows powershell (tried regular command line too) with this command:
&(“C:\Program Files (x86)\Appz\LibreOffice 4\program\soffice.exe”) -headless -convert-to pdf:writer_pdf_Export -outdir C:\TEST\PDF C:\TEST\a.docx