Handle linked files for BC own settings files

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • crash
    Visitor
    • May 2018
    • 5

    Handle linked files for BC own settings files

    Hello!

    Please add "handle linked files" support for BC own settings files (BCSessions.xml, BCPreferences.xml).

    For example I store my settings in a git repository and only link from here to where BC looks for it (eg: in windows create link in: AppData/Roaming/Scooter Software/Beyond Compare 4/BCPreferences.xml).
    But when I change any settting then restart BC the changed settings lost and only found in the .xml.bak files (so BC can't write to the linked files).

    You can create link in Windows with "mklink" command eg: mklink BCPreferences.xml own-versioned.xml
  • Aaron
    Team Scooter
    • Oct 2007
    • 16026

    #2
    Hello,

    BC4 does not support individual linking, but you can set the Settings folder to be another location (which can then be under version control). To define a new folder, set it in your Registry in HKEY_CURRENT_USER\Software\Scooter Software\
    Make a new String Value here as:
    SettingsPath
    with the value of:
    C:\Your Path\Folder\
    Aaron P Scooter Software

    Comment

    • crash
      Visitor
      • May 2018
      • 5

      #3
      It works thank you.

      Maybe add support for variables in the location from this registry key? (like %USERPROFILE%)

      Comment

      • Aaron
        Team Scooter
        • Oct 2007
        • 16026

        #4
        Sure, I'll add that to our wishlist.
        Aaron P Scooter Software

        Comment

        Working...