Okay, so just read up on environment variables since I had no idea what they were. How do I create a DOS/Windows batch file that automatically changes the config path relative to the location of Calibre?
Say I have the following directory structure:
|- Calibre (copy of install directory)
|- config (location of settings)
|- calibre-db (location of database and books)
Will the following batch file work (portablecalibre.bat
set CALIBRE_CONFIG_DIRECTORY = %cd%
calibre.exe --with-library ..\calibre-db
Another question, if Calibre is already installed on the PC, am I correct in assuming the above batch file would only change settings for "portable calibre" and the version installed on the computer would be unaffected by the path change?