Two Pilots™    Home  |  Navigation  |  Site Map  |  Products  |  Download  |  Prices  |  For Partners  |  Support

All forums · Statistics · Search ·

Two Pilots forum / Converters / no error message
Author Message
# Posted: 16 Oct 2007 12:54

I'm using document2pdf trial version 2.4.67. The GUI works fine but I cannot get any behavior from the command line.

document2pdf_pilot.exe coversheet.doc coversheet.pdf

Does not generate a pdf file nor any indication of an error.

As a matter of fact, I can type any gibberish after the executable name and it executes silently with no error message.

# Posted: 16 Oct 2007 22:30 · Edited by: mvf

You can write a simple batch file like this:

"full/path/to/document2pdf_pilot.exe" "full/path/to/coversheet.doc" "full/path/to/coversheet.pdf"
echo %errorlevel%

This will allow you to see the error code. And the documentation (Document2PDF.chm, Command Line section) will explain what does this error mean.

# Posted: 17 Oct 2007 12:15

The value in %errorlevel% before and after execution is unchanged. I know this because I set errorlevel to various postive values before execution, and verified the values were unchanged by execution.

The GUI functionality works fine, but would like to be able to invoke the program from another, without launching a GUI interface requiring user input.



Powered by miniBB 2.0 RC7 © 2001-2004 Page creation time (sec.): 0.015


Page top