View Single Post
Old 11-07-2015, 11:24 PM   #13
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,414
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
All calibre-protable.exe does is set a few environment variables and run calibre.exe. If you want to pass extra command line arguments to calibre.exe, simply write your own batch file to replace calibre-portable.exe

See the heavily commented calibre-portable.bat in the resources subdirectory of the calibre source tree for an example.

I could probably have calibre-portable.exe pass command line args to calibre.exe, except that command line processing on windows is such a pain, that I am reluctant to spend the time on it.
kovidgoyal is offline   Reply With Quote