View Single Post
Old 01-21-2009, 07:51 PM   #24
ilovejedd
hopeless n00b
ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.
 
ilovejedd's Avatar
 
Posts: 5,110
Karma: 19597086
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, Libra H2O, iPad 10.5, iPad 11, iPad 12.9
Thanks for the tip. Finally figured out my mistake.

I was using:
Code:
set CALIBRE_CONFIG_DIRECTORY = %CD%
instead of:
Code:
set CALIBRE_CONFIG_DIRECTORY=%CD%
Yep, stupid spaces got me.

Tested the fixed batch file on three systems (two PCs w/o Calibre and one VM with Calibre already installed). It seems to work quite well. It didn't overwrite the config files in the native installation of Calibre which is a good thing. Oh well, I'm just happy it doesn't leave any traces in the host computer.

portablecalibre.bat
Code:
@echo off
cd config
set CALIBRE_CONFIG_DIRECTORY=%cd%
cd..
cd calibre
calibre.exe --with-library  ..\calibre-db
exit
Thanks again for all the help and thanks for this wonderful program.
ilovejedd is offline   Reply With Quote