View Single Post
Old 08-26-2018, 01:07 PM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,099
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by Stevex View Post
OK I have the variable
CALIBRE_CONFIG_DIRECTORY
set to
%OneDrive%\Calibre_Config
And the variable OneDrive set to
C:\Users\MyName\OneDrive
So till now this always worked very well
But on starting Calibre 2.30 I got the startup wizard and I found it is creating a new config directory here:
C:\Users\MyName\Desktop\%OneDrive%\Calibre_Config

Note that it is using literally %OneDrive% not substituting the string C:\Users\MyName\OneDrive


Help???!!! What is going on??? This setup has worked well for me for years.
There is an update in 30 to address different cloud sync folders.

%reads and substitutes, the system environment setting for that variable%
This is the result I got, as I don't use One Drive (I have my own NAS)

Code:
C:\Users\Me>set %onedrive%
Environment variable C:\Users\Me\OneDrive not defined
There is a chance (small) that Kovid missed a use case


UPDATE
Wierd: when I look at the full output of SET
Code:
OneDrive=C:\Users\me\OneDrive
exists. But when I do set %OneDrive% (I tried camel case also), nada

Last edited by theducks; 08-26-2018 at 01:20 PM. Reason: Update
theducks is offline   Reply With Quote