Where are the libraries stored - if you're using calibre portable edition they must be in the same location as
calibre-portable.exe, viz:
If they're not then you'll run into the sort of problems you're seeing.
If there is a jolly good reason why they can't be there, you could create a symlink there that references the actual library location using the MKLINK command.
BR