conver-to pdf --outdir doesn't work [closed]

asked 2014-01-12 05:39:03 +0200

MikeTheKID gravatar image

updated 2015-08-28 13:48:53 +0200

Alex Kemp gravatar image

Can someone tell me what I am doing wrong? This doesn't work:

soffice.exe --headless --convert-to pdf "test.odg" --outdir C:\Temp

But this does work, it just leaves outputs it next to soffice.exe:

soffice.exe --headless --convert-to pdf "test.odg"

I'm using LO 4.1.4.2 on Windows XP. I'm trying to write a batch script that I'm going to schedule to scan a folder and convert anything that hasn't been converted yet.

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by Alex Kemp
close date 2016-02-18 13:45:15.254762

Comments

How did the first command "not work"? Does it fail with an error, or silently? Does the target directory already exist? Is it writeable? Did you try running this command from the target directory (replacing the input file name with the full path)?

bencomp gravatar imagebencomp ( 2014-01-12 18:52:17 +0200 )edit