Menu

#117 Auto-detect config file in install dir

open
nobody
None
5
2012-09-23
2011-06-14
Thomas
No

When I want to use my personal configfile then I have to pass it through cmdline like

kdiff3.exe --config .kdiff3rc

kdfif3 should be able to detect a config file automatically in its installation directory and use it.
There should be no need to specify it through cmdline parameter

Discussion

  • Joachim Eibl

    Joachim Eibl - 2011-06-27

    Normally your "personal" config file is in your home directory.
    On Un*x /home/<username>/.kdiff3rc
    On WinXP: c:\Documents and Settings\<username>.kdiff3rc
    On Vista/Win7: c:\Users\<username>.kdiff3rc</username></username></username>

    Having a .kdiff3rc in the installation dir (e.g. c:\Program Files\KDiff3.kdiff3rc) means that it isn't personal any more. And the kdiff3 executable normally wouldn't have write permissions.

    After writing this, I guess you might be using the kdiff3-executable via USB-stick or similar. Then to avoid confusion please mention this.

    Joachim

     
  • Thomas

    Thomas - 2011-06-27

    Yes, you are ritght. I want to use kdiff3 from USB stick.
    Maybe KDiff3 could use a search sequence:
    First search for the .kdiff3rc file in users home directy.
    If there isn't one then search in the installation directory

     
  • Thomas

    Thomas - 2011-12-10

    Any plan to implement this?

     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.