Kinook Software Forum

Kinook Software Forum (https://www.kinook.com/Forum/index.php)
-   [UR] General Discussion (https://www.kinook.com/Forum/forumdisplay.php?f=23)
-   -   Does UR honor environment variables for file links (https://www.kinook.com/Forum/showthread.php?t=5487)

cnewtonne 03-27-2017 11:20 AM

Does UR honor environment variables for file links
 
Trying to save links to files that work universally on any machine I open UR on. These files reside in google drive which is created in %USERPROFILE%\Google Drive\.

Use %USERPROFILE% in the item properties does not work.

Is this by design? If yes, how do you go about creating machine-independent links?

Thanks

kinook 03-27-2017 12:11 PM

That was not part of the implementation. One way to do that would be to put the .urd file in %USERPROFILE% since the links will be stored relative for subfolders.

http://www.kinook.com/UltraRecall/Ma...ronization.htm

cnewtonne 03-28-2017 09:18 AM

For my use case, I have urd files on Dropbox, but the library containing linked files e.g. pdfs, worksheets, resides on Google drive (cheaper). Dropbox sync is the best because it does incremental sync vs. full file sync like Google or Ondrive.

I you are in a similar situation, use Windows symbolic links to link into UR. Then create these same links on all other machines.

Creating such links inside Dropbox is not an option because it will sync not only the link, but all folders/files pointed to by the link.

cd C:\app\fh_ur_links
#--
mklink /D fh_dbox "%USERPROFILE%\Dropbox"
mklink /D fh_gdrive "%USERPROFILE%\Google Drive"

https://www.howtogeek.com/howto/1622...dows-or-linux/


All times are GMT -5. The time now is 01:58 PM.


Copyright © 1999-2023 Kinook Software, Inc.