This is my modified file:
CalibreRun.bat
You can try these steps:
-Create 'Calibre2Portable' folder (or whatever name you like) on your USB stick.
-Copy the .bat file to that folder.
-Create 'Data' folder in 'Calibre2Portable'.
-Create 'Config', 'Library' folders in 'Data'.
-Copy 'Calibre2' folder to 'Calibre2Portable'.
-Copy files in 'CalibreLibrary' to 'Library'.
-Copy files in installed Calibre's config folder to 'Config' (you can open that folder by opening installed Calibre, click Preferences>Advanced>Open Calibre configuration directory)
If you don't want to copy intalled Calibre's configuration to portable one, you can leave 'Config' folder empty
-Start Calibre Portable by running .bat file. (always start with the .bat file)
Note: I don't know why but Calibre Portable's viewer can't remember window size, other settings are saved.
If you can start Calibre Portable and don't want to hit enter everytime starting it, use a text editing program and remove these lines from the .bat file:
Code:
echo "Press CTRL-C if you do not want to continue"
pause