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.