[GNC] - File Path for associated files

Geert Janssens geert.gnucash at kobaltwit.be
Wed Sep 12 10:08:26 EDT 2018


Op woensdag 12 september 2018 15:45:17 CEST schreef Fross, Michael:
>  Directly editing the XML files is really scary to me.  Seems like it would
> be simple, but scary.
> 
> One idea for the future is to have a GNUCash configured Associated Files
> directory.  This would be the root of all associated files.  In the
> datafile, the filepath would originate from this directory.  A user could
> move these files to a new location with a simple UI directory update in
> preferences.
> 
> For example:
> 
> GNUCash Associated Directory=C:\Gnucash\AssociatedFiles
> 
> Files:
> C:\Gnucash\AssociatedFiles\file1
> C:\Gnucash\AssociatedFiles\launderedmoney\file2
> C:\Gnucash\AssociatedFiles\fencedgoods\file3
> 
> Then in the XML files, the paths would be stored as:
> 
> GNUCashAssociatedFiles/file1
> GNUCashAssociatedFiles/launderedmoney\file2
> GNUCashAssociatedFiles/fencedgoods\file3
> 
> Thoughts?
> 
It's there already (though perhaps only in 3.x):
Preferences->General->Path Head for Transaction Association Files

I have no idea if changing this would do anything with absolute path names 
already in the book. And I would doubt very much I would be able to do 
something with Windows paths on a linux system. But for future associations 
this should help.

Geert




More information about the gnucash-user mailing list