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


All forums · Statistics · Search ·

Two Pilots forum / Converters / Command line for CHM2PDF, v. 2.15.0072
Author Message
Andrey
Member
# Posted: 23 Apr 2008 10:36


It seems that command line like

CHM2PDF_Pilot.exe "AA.CHM" "BB.PDF"

fails.

The error code in this case is -6.

Please advise asap.

mvf
Member
# Posted: 23 Apr 2008 22:40 · Edited by: mvf


Command line like:
CHM2PDF_Pilot.exe "AA.CHM" "BB.PDF"
works the folowing way:
CHM2PDF_Pilot.exe tries to find AA.CHM in the same directory that it is in. If AA.CHM is not found or can not be opened (blocked by another application) then it returns error code -6.
Check AA.CHM is located in the CHM2PDF_Pilot.exe's folder or specify full path:
CHM2PDF_Pilot.exe c:/a/b/c/aa.chm c:/q/w/e/bb.pdf

Andrey
Member
# Posted: 24 Apr 2008 05:18


Thanks!

It worked with the absolute path. I didn't realize that the relative path roots from the installation folder.

AntonK
# Posted: 11 Nov 2009 12:50


This is rather unexpected behavior, if the converter uses the path _relative_ to its folder, and absolute links make it hard to automate the conversion process.

Are you going to improve this behavior in the nearest release?

I'd prefer to have the abillity to specify paths relative to the current directory...

Thanks in advance!

max.f
# Posted: 11 Nov 2009 12:59


> I'd prefer to have the abillity to specify paths relative to the current directory...

And someone prefers to use it other way.
For automation it is possible to pass "in list" and "out list", where you may put absolute paths.

--
Max Filimonov,
max.f@colorpilot.org

 

 

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

 

Page top