View Single Post
Old 03-06-2017, 07:20 PM   #2
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,794
Karma: 30237628
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by Stevex View Post
Is there any way to have an environment variable as part of a library path?
I tried doing this manually and Calibre opens the library all right but then saves the path with the variable replaced by its text.
@Stevex - on Windows you could use a symlink and change its target as and when needed. The only way I know how to change a symlink's target directly is with Hermann Shinagl's Link Shell Extension (LSE), I don't think it can be done from the command line.

Otherwise, you could delete the existing symlink and create a new symlink referring to a different target with the same symlink name as the one you just deleted. Or use file rename to shuffle between predefined symlinks.

But - why do you want something like this, calibre can access multiple libraries easy enough.

BR

Last edited by BetterRed; 03-06-2017 at 07:48 PM.
BetterRed is online now   Reply With Quote