Ah Got it!

CD /D S:\ProgramFiles\LibreOfficePortable

LibreOfficePortable.exe --headless --convert-to PDF --outdir c:\temp c:\document.rtf

On 12/26/2011 8:56 AM, Luuk wrote:

On 26-12-2011 14:31, Miros?aw Zalewski wrote:

On 26/12/2011 at 14:04, Luuk<[email protected]>  wrote:

Is however 'strange'  that the options on a Windows computer need two
'--'  (i.e. --headless), and on linux just need one '-' (i.e. -headless)

Should this not be more standardized?
As far as I remember, options for Windows command-line programs are delimited
by slash (e.g. del /f some_file).

So, either way, LO behavior is non-standard for Windows apps. But, on the
other hand, most of Windows users does not use terminal mode - those who do
perhaps have some experience with Linux shells as well.

You are right, so there are 2 options:
1) Do it the Windows-way, and make LO use the '/' for this stuff.

2) Do it the LO-way, and make sure the parameters are accepted the same
way on every implemented platform.



--
For unsubscribe instructions e-mail to: [email protected]
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted

Reply via email to